mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Only add the SD if it's not a new stream file.
This commit is contained in:
parent
12514bf008
commit
7b275c551b
@ -3469,7 +3469,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
|
||||
*/
|
||||
|
||||
if ((sd != NULL) && (info == FILE_WAS_CREATED)
|
||||
&& lp_nt_acl_support(SNUM(conn))) {
|
||||
&& lp_nt_acl_support(SNUM(conn)) && fsp->base_fsp == NULL) {
|
||||
|
||||
uint32_t sec_info_sent;
|
||||
uint32_t saved_access_mask = fsp->access_mask;
|
||||
|
Loading…
Reference in New Issue
Block a user