git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: smbd: Add dirfsp parameter to can_write_to_file().
[amitay/samba.git]
/
source3
/
smbd
/
posix_acls.c
diff --git
a/source3/smbd/posix_acls.c
b/source3/smbd/posix_acls.c
index 2e78b9c3bbb4821842ef2dc243bdfd491175bc80..bdae3bc636e79a2762d93de4894f94d0865430e0 100644
(file)
--- a/
source3/smbd/posix_acls.c
+++ b/
source3/smbd/posix_acls.c
@@
-2847,6
+2847,7
@@
static bool acl_group_override(connection_struct *conn,
/* user has writeable permission */
if (lp_dos_filemode(SNUM(conn)) &&
can_write_to_file(conn,
+ conn->cwd_fsp,
smb_fname))
{
return true;