Quotting pitti from comment #2:
> We won't change the behaviour in udisks, there needs to be some default after 
> all.

Please completely remove dmask from the vfat/ntfs mount options, like fmask 
already is (absent).
Patch available at LP #482501.

I assume that dmask=0077 was added at some point in order to protect the 
contents of the mountpoint?
Nowadays, all user-mounted media is protected by the attributes of the parent 
directory, /media/username.
guest@pc:~$ ls /media/alkisg
ls: cannot open directory /media/alkisg: Permission denied

Inside /media/username/mountpoint, directories and files should be 
world-readable to behave better when copied elsewhere (LP #592748), e.g. in 
~/Documents, which is supposed to be world-readable by default.
For example, ~/.local is drwx------ but ~/.local/share is drwxr-xr-x,
similarly, /media/username should be drwx------ and 
/media/username/mountpoint/folders should be drwxr-xr-x.


For people needing a quick workaround, and since none exists yet, here's a 
really bad one that nevertheless does work for me:
# For the newer udisks2:
sudo sed 's/dmask=[0-9]\{4\}/dmask=0022/' -i /usr/lib/udisks2/udisksd
# For the older udisks:
sudo sed 's/dmask=[0-9]\{4\}/dmask=0022/' -i /usr/lib/udisks/udisks-daemon
# And reboot.

If udisks/udisks2 don't get fixed in some reasonable time, I'll upload
patches packages for the LTS Ubuntu releases in the Greek Schools PPA.
Unfortunately that'll be a pain, especially for udisks updates.

About configurability in nautilus, I don't think it will be needed if
dmask gets removed. And in any case configurability belongs in udisks,
not in packages that use udisks, because then every package that uses
udisks should provide such an option.

Thanks!

** Also affects: udisks (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: udisks2 (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Make default mount umasks configurable

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to