Date: Wed, 24 Apr 1996 23:37:24 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: kallio@cc.jyu.fi Subject: Re: BUG in FreeBSD 2.1R Message-ID: <199604242137.XAA28721@uriah.heep.sax.de> In-Reply-To: <Pine.SOL.3.92.960424122136.21140E-100000@kanto.cc.jyu.fi> from "Seppo Kallio" at Apr 24, 96 08:46:30 pm
next in thread | previous in thread | raw e-mail | index | archive | help
As Seppo Kallio wrote: > > If I have > > /opt/ftp directory with permissions -rwx----- > > Then I mount /opt/ftp /dev/sd1a having -rwxr-xr-x > > The /opt/ftp directory is getting the real permissions from the original > directory definition, but it is SHOWING the permissions the mounted disk > directory has. cd /opt/ftp pwd :-) This seems to be a bug with all Unix implementations i've seen so far. The simplest workaround: since mount points finally always use the permissions from the mounted resource, do always give them 555 or 755 permissions. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604242137.XAA28721>