Re: [RFC] FUSE permission modell (Was: fuse review bits)

From: Jan Hudec
Date: Wed Apr 13 2005 - 08:05:51 EST


On Wed, Apr 13, 2005 at 11:14:10 +0200, Miklos Szeredi wrote:
> > > There are uses for both. For example today I was updating the tar ball
> > > which is used to create the var file system for a new chroot. I certainly
> > > want to see corretly setup owner/permissions when I look into that tar
> > > ball using a FUSE fs...
> >
> > If I'm updating a var filesystem for a new chroot, I'd need the
> > ability to chmod and chown things in that filesystem. Does that work
> > as an ordinary user?
>
> Yes, within UML for example.

That's a bad example. UML does in fact *NOT* invoke host kernel's chmod,
because it has all the filesystem in a file.

But the answer is yes anyway. It's up to the filesystem to check whether
it is allowed. FUSE does not block it and if the actual userland driver
does not protest either, it is possible.

>[...]

-------------------------------------------------------------------------------
Jan 'Bulb' Hudec <bulb@xxxxxx>

Attachment: signature.asc
Description: Digital signature