[Pkg-utopia-maintainers] Bug#767233: udisks2: Not mounting with user permissions (even vfat!)

Gabriel Corona gabriel.corona at enst-bretagne.fr
Tue May 12 10:35:42 UTC 2015


Hi,

I had the same issue here and it was caused by /etc/fstab entries: if
a relevant fstab entry is used, udisks2 mount the filesystem using it
instead of using its default behaviour.

Here were the relevant fstab entries:

/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0
/dev/sdb2       /media/usb1     auto    rw,user,noauto  0       0

With the fstab entries:

$ udisksctl mount -b /dev/sdb1 && ls -l /media/usb0 && udisksctl unmount -b /dev/sdb1
Mounted /dev/sdb1 at /media/usb0.
total 64
drwxr-xr-x 9 root root 32768 mai   12 08:19 data
Unmounted /dev/sdb1

Without the fstab entries:

$ udisksctl mount -b /dev/sdb1 && ls -l /media/foo/1C08-1B0C && udisksctl unmount -b /dev/sdb1
Mounted /dev/sdb1 at /media/foo/1C08-1B0C.
total 64
drwx------ 9 foo foo 32768 mai   12 08:19 data
Unmounted /dev/sdb1.

-- 
Gabriel



More information about the Pkg-utopia-maintainers mailing list