Date: 27 Mar 2002 13:00:21 +0300 From: "Vladimir B. " Grebenschikov <vova@express.ru> To: BOUWSMA Beery <freebsd-user@dcf77-zeit.netscum.dyndns.dk> Cc: hackers@freebsd.org Subject: Re: unionfs and getcwd problem. Message-ID: <1017223221.600.3.camel@vbook.express.ru> In-Reply-To: <200203251528.g2PFSaY00856@beerswilling.netscum.dyndns.dk> References: <200202251435.XAA91094@shidahara1.planet.sci.kobe-u.ac.jp> <1015415443.3157.2.camel@vbook.express.ru> <200203102147.g2ALlDw00249@beerswilling.netscum.dyndns.dk> <1016041015.748.56.camel@vbook.express.ru> <200203251528.g2PFSaY00856@beerswilling.netscum.dyndns.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2002-03-25 at 18:28, BOUWSMA Beery wrote: > > > > The only obvious `problem' is when a non-r00t user attempts to > > > access the union-mounted fs when the shadow directories have not > > > yet been created, and `permission denied' is returned for all > > > directories that exist below, but not in the unionfs fs. E.g.: > > > Yes, it is because of feature of unionfs to create shadow directories > > with credentionals of proceses doing "rise" operation. > > > > And if process have no permissions to write into parent directory > > operation fail. > > I have thought about what is best to do in a case like this. > At first, I was thinking that if a directory like this does not > presently exist in the upper (unionfs) layer, then for the case > of a read-only operation like `ls', simply fall through to display > what is present in the lower layer. > > This, if it is possible (I have no idea; I'm no hacker), would > avoid the ``hey, why can't I do a simple `ls'?!?'' type of > question. May be you will be interested in -o union flag to any standart mount It works a bit different from special union FS. > thanks, > barry bouwsma -- TSB "Russian Express", Moscow Vladimir B. Grebenschikov, vova@express.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1017223221.600.3.camel>