diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-03-01 16:58:14 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-03-01 17:02:18 +0100 |
commit | ffcb11b1ae39684511c74d2decdb959dff559401 (patch) | |
tree | 19b3d3f6662296c4db699b9315b6e35e0c42c529 | |
parent | 6c27890287f0b86a8bc6aa6b46e7c6a573898164 (diff) |
Drop default [df]mask for VFAT and NTFS
The parent mount point dir (/run/media/user) already controls access
permissions, so there is no need to set [df]mask to 077 for VFAT and NTFS. This
makes UDISKS_FILESYSTEM_SHARED="1" actually work for these file systems.
https://launchpad.net/bugs/453605
-rw-r--r-- | src/udiskslinuxfilesystem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udiskslinuxfilesystem.c b/src/udiskslinuxfilesystem.c index 4c7acd3..bb47337 100644 --- a/src/udiskslinuxfilesystem.c +++ b/src/udiskslinuxfilesystem.c @@ -282,7 +282,7 @@ typedef struct /* ---------------------- vfat -------------------- */ -static const gchar *vfat_defaults[] = { "uid=", "gid=", "shortname=mixed", "dmask=0077", "utf8=1", "showexec", "flush", NULL }; +static const gchar *vfat_defaults[] = { "uid=", "gid=", "shortname=mixed", "utf8=1", "showexec", "flush", NULL }; static const gchar *vfat_allow[] = { "flush", "utf8=", "shortname=", "umask=", "dmask=", "fmask=", "codepage=", "iocharset=", "usefree", "showexec", NULL }; static const gchar *vfat_allow_uid_self[] = { "uid=", NULL }; static const gchar *vfat_allow_gid_self[] = { "gid=", NULL }; @@ -290,7 +290,7 @@ static const gchar *vfat_allow_gid_self[] = { "gid=", NULL }; /* ---------------------- ntfs -------------------- */ /* this is assuming that ntfs-3g is used */ -static const gchar *ntfs_defaults[] = { "uid=", "gid=", "dmask=0077", "fmask=0177", NULL }; +static const gchar *ntfs_defaults[] = { "uid=", "gid=", NULL }; static const gchar *ntfs_allow[] = { "umask=", "dmask=", "fmask=", "locale=", "norecover", "ignore_case", "windows_names", "compression", "nocompression", NULL }; static const gchar *ntfs_allow_uid_self[] = { "uid=", NULL }; static const gchar *ntfs_allow_gid_self[] = { "gid=", NULL }; |