From: Christian N. <cne...@gn...> - 2009-09-26 10:27:48
|
Am Montag, den 25.08.2008, 20:30 +0200 schrieb Miklos Szeredi: > On Sun, 10 Aug 2008, Christian Neumair wrote: > > In 2006, Paul Bolle proposed to add a umount mount helper for FUSE [1]. > > In those days, it was pointed out by Miklos Szeredi that umount “can > > only by used as root” in this context. > > > > Fortunately, this does not seem to be true (anymore?). “util-linux”, > > supports a “uhelper” mount option that optionally specifies an unmount > > helper which can be used in non-root mode. Reading the umount man page > > suggests that it was introduced for HAL. > > > > Therefore, I'd like to propose one of the following two solutions: > > > > A) when mounting, fusermount specifies "uhelper=fuse" as mount option > > and installs the script proposed back in 2006 by Paul Bolle. > > > > > > B) Like A), but specify "uhelper=fuse.filesystemtype" as mount option. > > > > In addition, mount/mount.c:check_special_umountprog() from “util-linux” > > is patched in a way that it looks for the mount helper, and resorts to > > the “parent type” (i.e. fuse) mount helper. > > Well, if we are patching util-linux, then a better solution is to > allow umounting fuse filesystems (or any filesystem, probably) if mtab > contains a "user=X" option and X is the umounting user. > > An even better solution is kernel support for unprivileged mounts and > umounts. This is being worked on and hopefully will go into mainline > in the not too distant future. Any news on that issue? best regards, Christian Neumair -- Christian Neumair <cne...@gn...> |