obexfs cannot be unmounted by non-root user

Bug #113428 reported by Roman Polach on 2007-05-08
Affects Status Importance Assigned to Milestone
Open Obex
Fix Released
obexfs (Ubuntu)

Bug Description

in Feisty with obexfs package installed,
obexfs (fuse) filesystem cannot be unmounted by non-root user who mounted it.
That user has "Allow use of fuse filesystems" privilege.
/etc/fuse.conf file contains line "user_allow_other".
According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398051 there is a known problem
that can be workarounded by setting fsname option in /etc/fstab but it didn't work for me
because of use of -Bxx parameter.

I modify /etc/fstab entry to this:
  obexfs#-b00:16:4E:7B:FC:1C\040-B10 /media/nokia6021 fuse allow_other,user,fsname=obexfs#-b00:16:4E:7B:FC:1C 0 0
and I mounted it and /etc/mtab contains this line:
  obexfs#-b00:16:4E:7B:FC:1C /media/nokia6021 fuse rw,nosuid,nodev,noexec,allow_other,user=roman 0 0
but when I tried to umount it, I still got:
  umount: /media/nokia6021 mount disagrees with the fstab
because " -B10" was not included in fsname, but adding this to fsname:
  obexfs#-b00:16:4E:7B:FC:1C\040-B10 /media/nokia6021 fuse allow_other,user,fsname=obexfs#-b00:16:4E:7B:FC:1C\040-B10 0 0
caused error when mounting:
  fuse: unknown option `-B10'

This problem should probably be forwarded upstream:
according to: https://answers.launchpad.net/ubuntu/+question/6275

Roman Polach (rpolach) wrote :

I have reported it upstream: http://dev.zuckschwerdt.org/openobex/ticket/7
but it seems that it cannot be noted in launchpad because its tracker is not registered..

Markus Thielmann (thielmann) wrote :

I added the tracker. Thanks for taking the time to file the reports.

Roman Polach (rpolach) wrote :

Upstream fixed. Please include the fix in Ubuntu.

Changed in openobex:
status: Unknown → Fix Released
Marcin Kielar (zorba128) wrote :

same problem...

Jeff Anderson (jander99) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in obexfs (Ubuntu):
status: New → Incomplete
Jani Uusitalo (uusijani) wrote :

fusermount -u $obexfs_mounted_directory works fine in Lucid.

Both mentioned fixed upstream, and here in comment #6. Seems fixed?

Roman Polach (rpolach) wrote :

sorry, I have no more device to test it..

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.