I am part of the group group1. The directory permission I am trying to cd into are 770 for both the parent directory and child directory but I still can not cd into. What am I doing wrong?
$ ls -l /NAS/infa/
drwxrwxr-x. 22 user1 group1 506 Jun 6 17:05 infa_shared
$ ls -dl /NAS/infa/infa_shared/AdminScripts/
drwxrwx---. 3 user1 group1 183 Jun 21 17:02 /NAS/infa/infa_shared/AdminScripts/
$ cd /NAS/infa/infa_shared/AdminScripts/
-bash: cd: /NAS/infa/infa_shared/AdminScripts/: Permission denied
$ groups | grep group1
group1
Part of the pathname is "NAS". Can I assume that is Network Attached Storage"?? If so, what is that device??
Usually when working with NAS (especially Windows based NAS) the access rights that you get are the lesser of the NAS rights and the Unix/Linux rights. For example, Windows has a right to "list the contents" which, if set against you on the parent directory, will stop you entering the subdirectory.
So have you considered that the problem may not lay with the Linux system at all.
What exactly is the device/system that is serving this NFS handle?
If it is another Unix/Linux system try (temporarily) setting the rights on the shared directory, and possible sub-directories to 777 to see if that fixes it.
As Don said, an in-bound NFS request has to pass security on the NFS server.