RELENG_6 weird '..' permission troubles
Yar Tikhiy
yar at comp.chem.msu.su
Mon Feb 20 11:18:41 PST 2006
On Sun, Feb 19, 2006 at 01:27:48PM +0100, Nicolas Rachinsky wrote:
> * Yar Tikhiy <yar at comp.chem.msu.su> [2006-02-19 13:58 +0300]:
> > This looks like a file-a-PR case if you are sure you didn't overlook
> > anything. To the best of my knowledge, the underlying mount point
> > permissions should affect nothing since the FS was mounted. But
> > you didn't show us output from "ls -la /" so please judge by yourself.
>
> This behaviour is known and documented.
>
> http://www.freebsd.org/cgi/man.cgi?query=mount&apropos=0&sektion=0&manpath=FreeBSD+6.0-RELEASE+and+Ports&format=html
>
> 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).
Thanks for pointing us out at this. To my shame, I read about the
caveat some years ago, but then forgot about it completely because
had never run into it in my practice.
--
Yar
More information about the freebsd-stable
mailing list