3

There is a directory created by root, and I am not root user. But I am not able to do a cd into that directory in spite of having execute permission for others. Why so? Has the write permission on others has anything to do here?

>$ ls -l
drwxrwxrwx  8 root    root  4096 Aug 10  2010 abc/
>$ cd abc
-ksh: cd: abc: [Permission denied]
>$

It is a mount point. From the mount command, I see NFS.

  • lsattr -d abc/ ? – neuron Jul 16 '15 at 10:06
  • lsattr: Permission denied While reading flags on abc – Guru Jul 16 '15 at 10:14
  • Is that a mount point with a mount on it? – YoMismo Jul 16 '15 at 10:51
  • 1
    ls -ld abc/. ? – wurtel Jul 16 '15 at 11:15
  • 1
    Then the mounted filesystem has a root directory that is not readable/excutable for your user ID. – wurtel Jul 16 '15 at 11:38
0

The directory abc is a mountpoint of a filesystem belonging to a different server, hence the permissions of the filesystem being shared overrides the permissions set on the mountpoint. The user(me) does not have the execute permission on the original filesystem and hence not able to get into the directory.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.