diff options
Diffstat (limited to 'source3/lib')
| -rw-r--r-- | source3/lib/dumpcore.c | 2 | ||||
| -rw-r--r-- | source3/lib/eventlog/eventlog.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/dumpcore.c b/source3/lib/dumpcore.c index f284ea4673..487ccecc74 100644 --- a/source3/lib/dumpcore.c +++ b/source3/lib/dumpcore.c @@ -67,7 +67,7 @@ static char *get_default_corepath(const char *logbase, const char *progname) goto err_out; } - if (!directory_create_or_exist(tmp_corepath, uid, mode)) { + if (!directory_create_or_exist(tmp_corepath, mode)) { DEBUG(0, ("Failed to create %s for user %d with mode 0%o\n", tmp_corepath, (int)uid, (int)mode)); goto err_out; diff --git a/source3/lib/eventlog/eventlog.c b/source3/lib/eventlog/eventlog.c index 0cc0240bcc..4c6767d550 100644 --- a/source3/lib/eventlog/eventlog.c +++ b/source3/lib/eventlog/eventlog.c @@ -373,7 +373,7 @@ ELOG_TDB *elog_open_tdb( const char *logname, bool force_clear, bool read_only ) /* make sure that the eventlog dir exists */ eventlogdir = state_path( "eventlog" ); - ok = directory_create_or_exist(eventlogdir, geteuid(), 0755); + ok = directory_create_or_exist(eventlogdir, 0755); if (!ok) { return NULL; } |
