mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
smbd: allow POSIX opens for file_set_dosmode() in mkdir_internal()
As this check was previously added to file_set_dosmode() this is not yet a change in behaviour. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
f5604640e9
commit
17bb46abfe
@ -4624,7 +4624,7 @@ static NTSTATUS mkdir_internal(connection_struct *conn,
|
||||
return NT_STATUS_NOT_A_DIRECTORY;
|
||||
}
|
||||
|
||||
if (lp_store_dos_attributes(SNUM(conn)) && !posix_open) {
|
||||
if (lp_store_dos_attributes(SNUM(conn))) {
|
||||
file_set_dosmode(conn,
|
||||
smb_dname,
|
||||
file_attributes | FILE_ATTRIBUTE_DIRECTORY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user