Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2006 22:18:29 +0300
From:      Yar Tikhiy <yar@comp.chem.msu.su>
To:        freebsd-stable@freebsd.org
Cc:        Dmitry Morozovsky <marck@rinet.ru>
Subject:   Re: RELENG_6 weird '..' permission troubles
Message-ID:  <20060220191829.GE57043@comp.chem.msu.su>
In-Reply-To: <20060219122747.GA42983@mid.pc5.i.0x5.de>
References:  <20060216161726.M91053@woozle.rinet.ru> <20060216074912.K18952@extra.rwsystems.net> <20060216165612.M91053@woozle.rinet.ru> <20060219105852.GC20500@comp.chem.msu.su> <20060219122747.GA42983@mid.pc5.i.0x5.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 19, 2006 at 01:27:48PM +0100, Nicolas Rachinsky wrote:
> * Yar Tikhiy <yar@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060220191829.GE57043>