diff options
author | Jeremy Allison <jra@samba.org> | 2003-07-24 19:10:52 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-07-24 19:10:52 +0000 |
commit | b826e8c8980d26e932da55384f109f0fe6a124c7 (patch) | |
tree | dc7dd039ec6779e3d4b32e1fe04f37cf328945d5 /source/smbd | |
parent | a6e537f6611cc1357fffea0b69901fba7c9ad6ea (diff) | |
download | samba-b826e8c8980d26e932da55384f109f0fe6a124c7.tar.gz samba-b826e8c8980d26e932da55384f109f0fe6a124c7.tar.xz samba-b826e8c8980d26e932da55384f109f0fe6a124c7.zip |
Fix from matt.zinkevicius@hp.com to stop files being created on read-only
shares in some circumstances.
Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r-- | source/smbd/open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c index 5f6ed74f09e..8f839830236 100644 --- a/source/smbd/open.c +++ b/source/smbd/open.c @@ -125,6 +125,7 @@ static BOOL open_file(files_struct *fsp,connection_struct *conn, directory. */ flags &= ~O_CREAT; + local_flags &= ~O_CREAT; } } |