Ticket #7 (closed task: fixed)
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.
