summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-04-15 10:24:20 -0700
committerGitHub <noreply@github.com>2019-04-15 10:24:20 -0700
commit03c0c1f17cede82623979d5092a94033155e42f8 (patch)
tree2caa979a2d7980b78ad47f799b7e9ecbee5a25be
parent04a7bc8fc98d456e4b9eed2d42713b6577ea628b (diff)
parent68b9e91d3b1471dafbe854fd3fcdc793d5a8b70e (diff)
downloadchef-03c0c1f17cede82623979d5092a94033155e42f8.tar.gz
Merge pull request #8361 from chef/btm/fix-solo-perms
Drop privileges before creating files in solo mode
-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 148e7720a5..ee2509e821 100644
--- a/lib/chef/application/solo.rb
+++ b/lib/chef/application/solo.rb
@@ -218,12 +218,12 @@ class Chef::Application::Solo < Chef::Application
# Get this party started
def run
setup_signal_handlers
+ setup_application
reconfigure
for_ezra if Chef::Config[:ez]
if !Chef::Config[:solo_legacy_mode]
Chef::Application::Client.new.run
else
- setup_application
run_application
end
end