diff options
Diffstat (limited to 'source3/smbd/dosmode.c')
-rw-r--r-- | source3/smbd/dosmode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 1789b55dfd7..3c6d47bb6dc 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -679,8 +679,8 @@ int file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname, unixmode = smb_fname->st.st_ex_mode; - get_acl_group_bits(conn, smb_fname->base_name, - &smb_fname->st.st_ex_mode); + get_acl_group_bits(conn, smb_fname, + &smb_fname->st.st_ex_mode); if (S_ISDIR(smb_fname->st.st_ex_mode)) dosmode |= FILE_ATTRIBUTE_DIRECTORY; |