diff options
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 3171d3c5ca..61e1deb81e 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -155,7 +155,7 @@ static int vfswrap_mkdir(vfs_handle_struct *handle, const char *path, mode_t mo START_PROFILE(syscall_mkdir); if (lp_inherit_acls(SNUM(handle->conn)) - && parent_dirname_talloc(talloc_tos(), path, &parent, NULL) + && parent_dirname(talloc_tos(), path, &parent, NULL) && (has_dacl = directory_has_default_acl(handle->conn, parent))) mode = 0777; |