From 799a3968a2463b7757a546465c7f05a6398869e7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 Oct 2007 07:55:45 -0400 Subject: question --- ...iwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn') diff --git a/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn b/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn index ae7f908d2..111bbb541 100644 --- a/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn +++ b/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn @@ -2,6 +2,8 @@ The ikiwiki-mass-rebuild utility fails to drop privileges and fails to execute i The solution is to set the effective UID after setting the real UID, and to set $PATH in the environment before calling exec(). +> Why does the PATH need to be reset? --[[Joey]] + Proposed patch: --- ikiwiki-mass-rebuild.orig 2007-08-15 22:21:59.000000000 +0200 -- cgit v1.2.3