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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to