freebsd-ports/sysutils/bacula/files/patch-filed.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

15 lines
367 B
C

--- src/filed/filed.c 23 Dec 2003 20:23:15 -0000 1.21
+++ src/filed/filed.c 2 Jan 2004 17:21:21 -0000 1.22
@@ -211,10 +211,10 @@
init_stack_dump(); /* set new pid */
}
- drop(uid, gid);
-
/* Maximum 1 daemon at a time */
create_pid_file(me->pid_directory, "bacula-fd", me->FDport);
+
+ drop(uid, gid);
#ifdef BOMB
me += 1000000;