Re: VFS(?) weirdness

From: Jilles Tjoelker <jilles_at_stack.nl>
Date: Fri, 22 Sep 2006 14:43:22 +0200
On Wed, Sep 20, 2006 at 01:50:12PM +0400, Gleb Smirnoff wrote:
> Oops. Well, going up the directory tree, I've found that the '..'
> entry is unaccessible in the /usr and /var directories:

> glebius_at_jujik:/var:|>ls -la
> ls: ..: Permission denied
> total 1120
> drwxr-xr-x  25 root    wheel         512 20 ??? 17:39 .
> drwxrwxr-x   2 root    operator      512 19 ??? 12:14 .snap
> drwxr-xr-x   2 root    wheel         512 21 ???  2004 account
> drwxr-xr-x   4 root    wheel         512 28 ???  2004 at
> drwxr-x---   2 root    audit         512 21 ???  2006 audit
> <skip>

Check the permissions of the original mount point (you need to umount
/usr and /var to do so).

 From mount(1):
] CAVEATS
]      After a successful mount, the permissions on the original mount point
]      determine if .. is accessible from the mounted file system.  The minimum
]      permissions for the mount point for traversal across the mount point in
]      both directions to be possible for all users is 0111 (execute for all).

-- 
Jilles Tjoelker
Received on Fri Sep 22 2006 - 10:43:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC