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 address hidden>
* 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
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 address hidden>
* 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/ 7.4/kernel/ dir.c fuse-2. 7.4-modified/ kernel/ dir.c 7.4/kernel/ inode.c fuse-2. 7.4-modified/ kernel/ inode.c
diff fuse-2.
728a729,730
> return 1;
>
diff fuse-2.
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