git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e036bb5
)
s3:smbd: access checks should not depend on share mode flags
author
Stefan Metzmacher
<metze@samba.org>
Fri, 18 Mar 2011 15:45:08 +0000
(16:45 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 14 Jun 2011 10:56:13 +0000
(12:56 +0200)
metze
(cherry picked from commit
f0ec69b53544b7ff702f94d58b3d64c33eaabc7a
)
(cherry picked from commit
dca75c8e3ac23256d93269bdc13d1e67571bc9f2
)
(cherry picked from commit
295271ca3d4346e130363ba227ff66b08368d957
)
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index bd748f9661af75a2c49b6f3c212232aaf7d89502..0d585cf8dcdb96104e64df214046bf14e2b74f96 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-2944,7
+2944,6
@@
static NTSTATUS create_file_unixpath(connection_struct *conn,
if (lp_acl_check_permissions(SNUM(conn))
&& (create_disposition != FILE_CREATE)
- && (share_access & FILE_SHARE_DELETE)
&& (access_mask & DELETE_ACCESS)
&& (!(can_delete_file_in_directory(conn, smb_fname) ||
can_access_file_acl(conn, smb_fname, DELETE_ACCESS)))) {