]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by HenrikBrixAndersen: Answer question from Joey
authorJoey Hess <joey@wren.kitenet.net>
Thu, 25 Oct 2007 21:19:34 +0000 (17:19 -0400)
committerJoey Hess <joey@wren.kitenet.net>
Thu, 25 Oct 2007 21:19:34 +0000 (17:19 -0400)
doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn

index 111bbb5413a6d55dc7964797a8c31d53eae90b13..9bf6134bf25ba9b3a2ebf4749d10af8fca001e64 100644 (file)
@@ -4,6 +4,8 @@ The solution is to set the effective UID after setting the real UID, and to set
 
 > Why does the PATH need to be reset? --[[Joey]]
 
+> > It doesn't - it needs to be set. The line with `%ENV=();` clears the environment, thus no `$PATH` is set. --[[HenrikBrixAndersen]]
+
 Proposed patch:
 
     --- ikiwiki-mass-rebuild.orig      2007-08-15 22:21:59.000000000 +0200