Another fix for bug #8556 - ACL permissions ignored when SMBsetatr is requested.
[metze/samba/wip.git] / source3 / smbd / trans2.c
index ba6bcbbb9e288cfac6f3684844bd0f09b4bcae29..cee6c35189002d4a7a1136df59238130b3bb7f9f 100644 (file)
@@ -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.
         */