Re: [AVFS] fusermount as user

Olaf Leidinger <leidola-S0/[email protected]> Tue, 17 Aug 2004 21:33:44 +0200
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <[email protected]>
Hello!

Am Di, den 17.08.2004 schrieb Miklos Szeredi um 20:09:
> > I just tried vanilla 2.6.6 with debian patches and it works. 
> > There are also no error messages which say "failed to (set/restore)
> > capabilities: Operation not permitted"
> > 
> > What's the problem with the CK-patches? Or is it due 2.6.7?
> 
> It's most probably the CK-patch, it works on 2.6.8 for me.  It may be
> due to some security change in that patch.  It can probably be worked
> around in fusermount.  If you want to do a little hacking, just
> comment out the calls to drop_privs() and restore_privs() in
> util/fusermount.c.  This is not a proper fix, but probably it helps in
> your case.
I commented out "return -1" in drop_privs() and now it works as
expected. Thanks a lot ;-)

Ciao,

Olaf



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285