[Bug 1117348] [NEW] fuse should add uhelper= mount option to allow unmounting with umount

Loïc Minier lool at dooz.org
Wed Feb 6 13:55:33 UTC 2013


Public bug reported:

Hi,

mount -t fuse or -t fuse.sshfs calls mount.fuse and libfuse based fuse
wrappers like sshfs or archivemount use fuse_main, but these mount
points can't be unmounted with "umount".

There's provision to umount fses which aren't in fstab by non-root, but
this requires setting an "uhelper" program.

I've tried this:
* mount with archivemount or mount.fuse as a regular user
* edit mtab and add "uhelper=fuse" in the mount options
* create a /sbin/umount.fuse shell script which just execs fusermount -u "$@"
this allowed me to "umount" as a regular user; I believe fuse should do so.

Also, why trying this out I noticed that fuse is looking for user=xyz in
mtab, but can't cope with this not being the last option; this probably
needs to be fixed if more options get appended to mtab.

Cheers,

** Affects: fuse (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fuse in Ubuntu.
https://bugs.launchpad.net/bugs/1117348

Title:
  fuse should add uhelper= mount option to allow unmounting with umount

Status in “fuse” package in Ubuntu:
  New

Bug description:
  Hi,

  mount -t fuse or -t fuse.sshfs calls mount.fuse and libfuse based fuse
  wrappers like sshfs or archivemount use fuse_main, but these mount
  points can't be unmounted with "umount".

  There's provision to umount fses which aren't in fstab by non-root,
  but this requires setting an "uhelper" program.

  I've tried this:
  * mount with archivemount or mount.fuse as a regular user
  * edit mtab and add "uhelper=fuse" in the mount options
  * create a /sbin/umount.fuse shell script which just execs fusermount -u "$@"
  this allowed me to "umount" as a regular user; I believe fuse should do so.

  Also, why trying this out I noticed that fuse is looking for user=xyz
  in mtab, but can't cope with this not being the last option; this
  probably needs to be fixed if more options get appended to mtab.

  Cheers,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/1117348/+subscriptions




More information about the foundations-bugs mailing list