diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-08-29 23:39:10 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-08-29 23:39:10 +0000 |
commit | fa0446bcdac90c3c0880f77b089066350be271dd (patch) | |
tree | 27e1eb7101a299784de2acc50dd798ed8bac4141 /lib/puppet/util.rb | |
parent | 6f175ce41fa4a7a62783c173965683c87c61095b (diff) | |
download | puppet-fa0446bcdac90c3c0880f77b089066350be271dd.tar.gz puppet-fa0446bcdac90c3c0880f77b089066350be271dd.tar.xz puppet-fa0446bcdac90c3c0880f77b089066350be271dd.zip |
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
Diffstat (limited to 'lib/puppet/util.rb')
-rw-r--r-- | lib/puppet/util.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |