1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r3208: fixed permissions of ncalrpc directory creation

This commit is contained in:
Andrew Tridgell 2004-10-25 09:41:24 +00:00 committed by Gerald (Jerry) Carter
parent efaa0eaec4
commit adbfd206f4

View File

@ -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) {