From fa0446bcdac90c3c0880f77b089066350be271dd Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 29 Aug 2006 23:39:10 +0000 Subject: Adding back in the code to change the euid. I removed this yesterday because I thought it was redundant. It is absolutely clear that I need to add tests for running as separate users. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1516 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/util.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb index 53ffe903a..a818a77bf 100644 --- a/lib/puppet/util.rb +++ b/lib/puppet/util.rb @@ -131,6 +131,7 @@ module Util unless Process.uid == user begin Process.uid = user + Process.euid = user rescue $stderr.puts "could not change to user %s" % user exit(74) -- cgit