Date: Fri, 22 Sep 2006 14:43:22 +0200 From: Jilles Tjoelker <jilles@stack.nl> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: David Malone <dwmalone@maths.tcd.ie>, current@FreeBSD.org Subject: Re: VFS(?) weirdness Message-ID: <20060922124322.GB2871@stack.nl> In-Reply-To: <20060920095012.GS27667@cell.sick.ru> References: <20060919142739.GM27667@cell.sick.ru> <200609191539.aa46619@walton.maths.tcd.ie> <20060920095012.GS27667@cell.sick.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060922124322.GB2871>