← Back to team overview

desktop-packages team mailing list archive

[Bug 453605] Re: Make default mount umasks configurable

 

AFAIK, the showexec mount parameter that you're already using handles
the executable files just fine, and it won't be affected by the dmask
change.

Output from a patched udisks2 with dmask dropped:

alkisg@pc ~ $ grep vfat /proc/self/mountinfo
35 22 8:33 / /media/alkisg/usbstick rw,nosuid,nodev,relatime - vfat /dev/sdc1 rw,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
alkisg@pc ~ $ cd /media/alkisg/usbstick/
alkisg@pc /media/alkisg/usbstick $ touch test.exe test.com test.bat test.txt
alkisg@pc /media/alkisg/usbstick $ ls -lha test.*
-rwxr-xr-x 1 alkisg alkisg 0 Jan  20 19:21 test.bat
-rwxr-xr-x 1 alkisg alkisg 0 Jan  20 19:21 test.com
-rwxr-xr-x 1 alkisg alkisg 0 Jan  20 19:21 test.exe
-rw-r--r-- 1 alkisg alkisg 0 Jan  20 19:21 test.txt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/453605

Title:
  Make default mount umasks configurable

Status in GVFS:
  New
Status in udisks package in Ubuntu:
  Won't Fix
Status in udisks2 package in Ubuntu:
  Confirmed

Bug description:
  There should be an easy way to configure the default umask for
  VFAT/NTFS/similar file systems (perhaps through the existing gconf
  system, which has /system/storage/default_options/vfat/mount_options
  ?).

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/453605/+subscriptions