[Feature Request] Changing the default options for a filesystem

Bug #682589 reported by Torsten Spindler
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: udisks

Currently one has to change the devices.c file to change the default options for a file system. This should be made configurable. Background is a customer that wants to disable 'exec' on all USB keys inserted into the system.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

I second that feature request.

My use case is, a teacher inserts a DVD in the LTSP server, and the students seated on thin clients can't access it unless he manually runs:
udisks --mount /dev/sr0 --mount-options=umask=0000

I'd like that umask to be configurable from some file in /etc.

Changed in udisks (Ubuntu):
status: New → Confirmed
Revision history for this message
daemonx (perutka-ondrej) wrote :

I'd also appreciate an option to change the default umask.

KDE 4.6 uses udisks to (auto)mount external storage devices and if I want to share a directory on such device using samba, the directory is inaccessible from the rest of my network because the default umask is 077. I need to run manually:

udisks --mount /dev/sdb1 --mount-options umask=022

everytime I plug in my external hard drive and it's really annoying.

Revision history for this message
Thiago Nalli Valentim (thiago-nalli-deactivatedaccount) wrote :

My use case is:

udisks --mount /dev/sda3 --mount-options UDISKS_AUTOMOUNT_HINT=always

Generator a error:
Mount Failed: Mount option UDISKS_AUTOMOUNT_HINT=always is not allowed.

My device /dev/sda3 is a ntfs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.