From d5ad8c5099f0106660302df66fd8c8e9dd26c054 Mon Sep 17 00:00:00 2001 From: Steve French Date: Tue, 17 Feb 2004 21:31:25 +0000 Subject: Disable dev (MS_NODEV) on user mounts from cifs vfs (This used to be commit 9b0d1072bc66d05d0e9afcbe0da349ccaa99ba6e) --- source3/client/mount.cifs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client') diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c index 7a51ee4b9b..bb893d0106 100755 --- a/source3/client/mount.cifs.c +++ b/source3/client/mount.cifs.c @@ -752,7 +752,7 @@ int main(int argc, char ** argv) #ifndef CIFS_ALLOW_USR_SUID /* Do not allow user mounts to control suid flag for mount unless explicitly built that way */ - flags |= MS_NOSUID; + flags |= MS_NOSUID | MS_NODEV; #endif } else { printf("mount error: permission denied or not superuser and cifs.mount not installed SUID\n"); -- cgit