diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/rpc_server.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c index 689e923804..de54ddc6e2 100644 --- a/source3/rpc_server/rpc_server.c +++ b/source3/rpc_server/rpc_server.c @@ -133,7 +133,7 @@ int create_named_pipe_socket(const char *pipe_name) goto out; } - if (!directory_create_or_exist(np_dir, geteuid(), 0700)) { + if (!directory_create_or_exist_strict(np_dir, geteuid(), 0700)) { DEBUG(0, ("Failed to create pipe directory %s - %s\n", np_dir, strerror(errno))); goto out; diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 1cd92882a9..00472db539 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1468,7 +1468,7 @@ extern void build_options(bool screen); return -1; } - if (!directory_create_or_exist(np_dir, geteuid(), 0700)) { + if (!directory_create_or_exist_strict(np_dir, geteuid(), 0700)) { DEBUG(0, ("Failed to create pipe directory %s - %s\n", np_dir, strerror(errno))); return -1; |