You are not logged in.
Hello,
I am looking for a solution to automount my usb devices. Based on the wiki I decided to go for udisks + udisks-glue. Everything seems works quite nicely, but udisks-glue is not mounting with the users flag, which leads to a mount just read/writable for the root user. This is obviously quite inconvenient.
This is my simple udisks-glue.conf:
filter disks {
optical = false
partition_table = false
usage = filesystem
}
match disks {
automount = true
automount_options = { rw,noatime,sync,users }
}
Mounting my usb device now fails in udisks-glue with:
"Failed to automount /dev/sdc1: Mount option users is not allowed"
Why is this option not allowed? If I do a manual mount with the same options it works without any problems at all.
Or is there any other workaround to solve this? I do not want to change my fstab, because as far as I know this just reflects to one partition - And sometime I connect an usb drive with several partitions, so all of them should be mounted. Anyways, at the moment I am running udisks-glue as root, which is not very good, but otherwise the mount would already failed because of a failed authorization. So if there would be a solution without root privileges at all I would be very glad.
Cheers,
sound
Offline
Isn't is 'user', not 'users'?
mount -o gid=users,dmask=007,fmask=117,iocharset=utf8,noauto,flush,user
Edit: Hmm, I've just checked and 'users' seems to work too. Sorry for the noise.
Last edited by karol (2011-11-02 21:30:43)
Offline
Try "user" indeed. "user" and "users" are slightly different.
Offline
If your USB drives are NTFS formatted, make sure you have ntfs-3g installed.
Offline
I also tried user before. Same result.
I can not possible image that it is in any way related to the file system (I used FAT32 and ext3 formatted devices), because as I mentioned above the manual mount works just fine.
Offline
Offline