From ed9b78d8402c986105f4d4576f6e0d7bb474630c Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Mon, 2 Mar 2009 09:31:19 -0500 Subject: [PATCH] use dmask 0077 by default when mounting vfat volumes This is to make the contents readable only by the user mounting the file system. This can be overridden by passing the dmask=XYZ option to FilesystemMount() method. --- src/devkit-disks-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devkit-disks-device.c b/src/devkit-disks-device.c index 9bf958b..7c45806 100644 --- a/src/devkit-disks-device.c +++ b/src/devkit-disks-device.c @@ -3875,6 +3875,7 @@ typedef struct { static const char *vfat_defaults[] = {"uid=", "gid=", "shortname=lower", + "dmask=0077", NULL}; static const char *vfat_allow[] = {"utf8", "shortname=", -- 2.7.4