diff options
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/dcerpc_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_sock.c b/source4/rpc_server/dcerpc_sock.c index 4b892aed64..2d11431d0b 100644 --- a/source4/rpc_server/dcerpc_sock.c +++ b/source4/rpc_server/dcerpc_sock.c @@ -198,7 +198,7 @@ void dcesrv_sock_init(struct server_service *service, const struct model_ops *mo /* Make sure the directory for NCALRPC exists */ if (!directory_exist(lp_ncalrpc_dir(), NULL)) { - mkdir(lp_ncalrpc_dir(), 700); + mkdir(lp_ncalrpc_dir(), S_IWUSR | S_IRUSR | S_IXUSR); } for (e=dce_ctx->endpoint_list;e;e=e->next) { |