freebsd-ports/sysutils/bacula/files/patch-stored.c
Lars Koeller 5a79459e6e o) Upgrade to version 1.32f
o) Now bacula runs with dropped down permissions as user bacula

   -> Please reserve UID 910 for this user
2004-01-05 19:25:01 +00:00

14 lines
393 B
C

--- src/stored/stored.c 23 Dec 2003 20:23:15 -0000 1.25
+++ src/stored/stored.c 2 Jan 2004 17:21:21 -0000 1.26
@@ -185,9 +185,9 @@
init_stack_dump(); /* pick up new pid */
}
- drop(uid, gid);
-
create_pid_file(me->pid_directory, "bacula-sd", me->SDport);
+
+ drop(uid, gid);
/* Ensure that Volume Session Time and Id are both
* set and are both non-zero.