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, [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to