diff options
-rwxr-xr-x | lib/puppet/daemon.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/daemon.rb b/lib/puppet/daemon.rb index c341bf219..a4594eb7f 100755 --- a/lib/puppet/daemon.rb +++ b/lib/puppet/daemon.rb @@ -207,8 +207,8 @@ module Puppet if cert.nil? or cert == "" return nil end - File.open(@certfile, "w", 0660) { |f| f.print cert } - File.open(@cacertfile, "w", 0660) { |f| f.print cacert } + File.open(@certfile, "w", 0644) { |f| f.print cert } + File.open(@cacertfile, "w", 0644) { |f| f.print cacert } begin @cert = OpenSSL::X509::Certificate.new(cert) @cacert = OpenSSL::X509::Certificate.new(cacert) |