summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-01-23 14:09:32 -0800
committerJeremy Allison <jra@samba.org>2012-01-24 00:44:22 +0100
commit869fd8eeba00bd62e89de344184ef748c5c0f9c0 (patch)
treef6693582f2690399735a864b770bde60d94f551a
parent3191040c3d2c761769e983af3bdcd386f21e82c4 (diff)
downloadsamba-869fd8eeba00bd62e89de344184ef748c5c0f9c0.tar.gz
samba-869fd8eeba00bd62e89de344184ef748c5c0f9c0.tar.bz2
samba-869fd8eeba00bd62e89de344184ef748c5c0f9c0.zip
Another fix for bug #8556 - ACL permissions ignored when SMBsetatr is requested.
Remove erroneous check on FILE_WRITE_ATTRIBUTES when changing POSIX permissions - this isn't an attribute set call (unless you're storing attributes in POSIX permissions, which is not recommended). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 24 00:44:24 CET 2012 on sn-devel-104
-rw-r--r--source3/smbd/trans2.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index ba6bcbbb9e..cee6c35189 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -6970,11 +6970,6 @@ static NTSTATUS smb_set_file_unix_basic(connection_struct *conn,
}
#endif
- status = check_access(conn, fsp, smb_fname, FILE_WRITE_ATTRIBUTES);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
/*
* Deal with the UNIX specific mode set.
*/