summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-01-17 13:51:49 -0800
committerGitHub <noreply@github.com>2018-01-17 13:51:49 -0800
commit676cd84530c84e2b595c61b810e6204d9257b44f (patch)
tree5f78feebf78f73a1b045bba6c7f64be886009541
parent36041e110eb21fe1f930f7f2ca1a962dab985746 (diff)
parent1de28175ef2018f49c74e2887fbd2dfca3c8a143 (diff)
downloadchef-676cd84530c84e2b595c61b810e6204d9257b44f.tar.gz
Merge pull request #6745 from chef/lcg/fix-non-daemonized-umask
fix non-daemonized umask
-rw-r--r--lib/chef/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb
index 096ce9c392..f5dced7702 100644
--- a/lib/chef/application.rb
+++ b/lib/chef/application.rb
@@ -90,6 +90,7 @@ class Chef
load_config_file
Chef::Config.export_proxies
Chef::Config.init_openssl
+ File.umask Chef::Config[:umask]
end
# Parse the config file