summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-09-11 21:26:05 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-09-11 21:26:05 -0700
commit893148283ca632351cae3adb4aa4f8a5dbf66200 (patch)
tree3be3b7c937574cea3efaa92e0c68af36fa829740
parent5048626424be5940caaff34b9aeee85918a2ec80 (diff)
downloadchef-893148283ca632351cae3adb4aa4f8a5dbf66200.tar.gz
Revert "Drop privileges before creating files in solo mode"lcg/revert-drop-perms
This reverts commit 68b9e91d3b1471dafbe854fd3fcdc793d5a8b70e.
-rw-r--r--lib/chef/application/solo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb
index da9ec7f566..bffe970257 100644
--- a/lib/chef/application/solo.rb
+++ b/lib/chef/application/solo.rb
@@ -52,13 +52,13 @@ class Chef::Application::Solo < Chef::Application::Base
# Get this party started
def run(enforce_license: false)
setup_signal_handlers
- setup_application
reconfigure
check_license_acceptance if enforce_license
for_ezra if Chef::Config[:ez]
if !Chef::Config[:solo_legacy_mode]
Chef::Application::Client.new.run
else
+ setup_application
run_application
end
end