diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-25 09:41:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:41 -0500 |
commit | dd476f06acb038e0572d9b8c49e676b7b7834fcb (patch) | |
tree | 10adf528f21fd1d7115b7c17fcfaa5befb1de8dc /source4/rpc_server | |
parent | ee0c87b4c98e2d3878aa7ab7f8919aa16c4aa063 (diff) | |
download | samba-dd476f06acb038e0572d9b8c49e676b7b7834fcb.tar.gz samba-dd476f06acb038e0572d9b8c49e676b7b7834fcb.tar.bz2 samba-dd476f06acb038e0572d9b8c49e676b7b7834fcb.zip |
r3208: fixed permissions of ncalrpc directory creation
(This used to be commit adbfd206f4e077ed915a014e89a970470b43e125)
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) { |