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:
parent
efaa0eaec4
commit
adbfd206f4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user