Ticket #7 (closed task: fixed)

Opened 19 months ago

Last modified 18 months ago

obexfs cannot be unmounted by non-root user even if mounted with fsname

Reported by: rpolach Owned by: somebody
Priority: minor Milestone:
Component: obexfs Version:
Keywords: Cc:

Description

obexfs filesystem cannot be unmounted by non-root user (with fuse privilege) who mounted it. 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 I need also to set -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. Then /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, so I have also add that to fsname in /etc/fstab:

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

but it caused error when mounting:

fuse: unknown option `-B10'

So I see no way to mount it to get the correct name in mtab entry.

Change History

Changed 18 months ago by zany

  • priority changed from major to minor
  • status changed from new to closed
  • resolution set to fixed
  • type changed from defect to task

Automatic channel selection in current SVN (and upcoming release 0.11) will fix this.

Also some next release will introduce friendly device names.

Note: See TracTickets for help on using tickets.