summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-19 16:48:16 +0000
committerGerald Carter <jerry@samba.org>2004-02-19 16:48:16 +0000
commitfba14cbfbecb8eef8b030d46309f9fbbffbd219d (patch)
treecacdbd78064cd0287a1eff1f2b7ee36df9be0790
parent7246b47c105a6bb077ff80684a74c3a056eacc46 (diff)
downloadsamba-fba14cbfbecb8eef8b030d46309f9fbbffbd219d.tar.gz
samba-fba14cbfbecb8eef8b030d46309f9fbbffbd219d.tar.bz2
samba-fba14cbfbecb8eef8b030d46309f9fbbffbd219d.zip
merging smbmnt fix from 3.0
(This used to be commit ea83c341c9ff54dfc5d0a941be96e6684f565d7d)
-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;