From: Joey Hess Date: Thu, 25 Oct 2007 11:55:45 +0000 (-0400) Subject: question X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/799a3968a2463b7757a546465c7f05a6398869e7?hp=b668227481028db996487cf64cee68a771dc9868 question --- 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