summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-31 22:38:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:52 -0500
commitbe1bbf317b03b15c21ea0f41accfb285699e153f (patch)
tree7814836ad5f7c7bf815d3bc33366f84402f8ce2c /source4
parent2e4466344ab501ebc14c730ef90d41d7c1eee159 (diff)
downloadsamba-be1bbf317b03b15c21ea0f41accfb285699e153f.tar.gz
samba-be1bbf317b03b15c21ea0f41accfb285699e153f.tar.bz2
samba-be1bbf317b03b15c21ea0f41accfb285699e153f.zip
r4458: Create ncalrpc directory with 0755 rather then 0700 so non-root users
can use ncalrpc as well. (This used to be commit 02340bb6eec394576d23f2c51956f4c47f475452)
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/dcerpc_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_sock.c b/source4/rpc_server/dcerpc_sock.c
index f8d0bbfc6d..2155f97376 100644
--- a/source4/rpc_server/dcerpc_sock.c
+++ b/source4/rpc_server/dcerpc_sock.c
@@ -201,7 +201,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(), S_IWUSR | S_IRUSR | S_IXUSR);
+ mkdir(lp_ncalrpc_dir(), 0755);
}
for (e=dce_ctx->endpoint_list;e;e=e->next) {