mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
lib: directory_create_or_exist() does not use "uid" parameter
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
2b9c35da12
commit
f5efddb9ae
@ -1488,7 +1488,7 @@ extern void build_options(bool screen);
|
||||
/* This MUST be done before start_epmd() because otherwise
|
||||
* start_epmd() forks and races against dcesrv_ep_setup() to
|
||||
* call directory_create_or_exist() */
|
||||
if (!directory_create_or_exist(lp_ncalrpc_dir(), geteuid(), 0755)) {
|
||||
if (!directory_create_or_exist(lp_ncalrpc_dir(), 0755)) {
|
||||
DEBUG(0, ("Failed to create pipe directory %s - %s\n",
|
||||
lp_ncalrpc_dir(), strerror(errno)));
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user