summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/client/smbmnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbmnt.c b/source3/client/smbmnt.c
index c04be3b7af..753a31c313 100644
--- a/source3/client/smbmnt.c
+++ b/source3/client/smbmnt.c
@@ -240,7 +240,7 @@ do_mount(char *share_name, unsigned int flags, struct smb_mount_data *data)
data.dir_mode |= S_IXOTH;
}
- flags = MS_MGC_VAL;
+ flags = MS_MGC_VAL | MS_NOSUID | MS_NODEV;
if (mount_ro) flags |= MS_RDONLY;