mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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
This commit is contained in:
parent
3191040c3d
commit
869fd8eeba
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user