VFS(?) weirdness
Jilles Tjoelker
jilles at stack.nl
Fri Sep 22 05:43:24 PDT 2006
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
More information about the freebsd-current
mailing list