From 869fd8eeba00bd62e89de344184ef748c5c0f9c0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 23 Jan 2012 14:09:32 -0800 Subject: [PATCH] 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 Autobuild-Date: Tue Jan 24 00:44:24 CET 2012 on sn-devel-104 --- source3/smbd/trans2.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index ba6bcbbb9e2..cee6c351890 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. */ -- 2.11.4.GIT