projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eff41c
)
use dmask 0077 by default when mounting vfat volumes
author
David Zeuthen
<davidz@redhat.com>
Mon, 2 Mar 2009 14:31:19 +0000
(09:31 -0500)
committer
David Zeuthen
<davidz@redhat.com>
Mon, 2 Mar 2009 14:31:19 +0000
(09:31 -0500)
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
patch
|
blob
|
history
diff --git
a/src/devkit-disks-device.c
b/src/devkit-disks-device.c
index
9bf958b
..
7c45806
100644
(file)
--- 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=",