git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb68ee
)
Fix from matt.zinkevicius@hp.com to stop files being created on read-only
author
Jeremy Allison
<jra@samba.org>
Thu, 24 Jul 2003 19:10:52 +0000
(19:10 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 24 Jul 2003 19:10:52 +0000
(19:10 +0000)
shares in some circumstances.
Jeremy.
(This used to be commit
b826e8c8980d26e932da55384f109f0fe6a124c7
)
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index 5f6ed74f09ee4179d5b3b61de1518b5a48092039..8f8398302365e2ba4e804c118880db4a1d1d81e0 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/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;
}
}