Hi, other users can't have access to .gvfs :

I tried to hack it directly in gvfs but i found in fuse code :

2005-07-07  Miklos Szeredi <[email protected]>

        * lib: don't allow both 'allow_other' and 'allow_root' options to
        be given

gvfs use libfuse2 so i hacked fuse :

diff fuse-2.7.4/kernel/ fuse-2.7.4-modified/kernel/
diff fuse-2.7.4/kernel/dir.c fuse-2.7.4-modified/kernel/dir.c
728a729,730
>       return 1;
> 
diff fuse-2.7.4/kernel/inode.c fuse-2.7.4-modified/kernel/inode.c
377a378,383
> 
>               switch (token) {
>               default:        
>                       d->flags |= FUSE_ALLOW_OTHER;
>               }
> 

be careful, it force the option allow_other for each fuse mount

and it works !

i done this trick to replace sftpdrive or webdrive (win32 + proprietary)
by a virtual box + samba + "user friendly" nautilus gvfs on the office's
win32 boxes

-- 
other users don't have access to .gvfs
https://bugs.launchpad.net/bugs/225361
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to