[Bug 1089408] Automatic mounting of external exfat volume results in wrong permissions
http://bugzilla.suse.com/show_bug.cgi?id=1089408
http://bugzilla.suse.com/show_bug.cgi?id=1089408#c4
Thomas Blume
I am not familiar with the inner workings of this mechanism. Please let me know if I need to test anything.
Output of your mount command and udisks2 automatic mount are equal, but results are not.
That seems to have been the case on Leap 42.3 but as mentioned on 15.0 permissions are 777 when mounting as user.
Background for these permission can be found in
Documentation/filesystems/vfat.txt in the kernel sources:
-->
umask=### -- The permission mask (for files and directories, see umask(1)).
The default is the umask of current process.
dmask=### -- The permission mask for the directory.
The default is the umask of current process.
fmask=### -- The permission mask for files.
The default is the umask of current process.
--<
Since the windows fat filesystems doesn't support file permissions, the above
default from the umask are used.
It seems that the mount process doesn't have an umask, so the permissions get
set to 777.
Reason for the difference between 42.3 and 15 is a version update from the
(very outdated) udisks version 2.1.6 to version 2.6.5.
Version 2.6.5 ships the following upstream changes:
-->
commit d15f4391042ccc09c848f9eb93a6dd75dd1c514b
Author: Martin Pitt
participants (1)
-
bugzilla_noreply@novell.com