Issue #2014 has been updated by Rob Madole.

On a Gentoo box, not only did it create the file with 600 but the owner was 
root while I needed it to be "robmadole".  Sure, easy enough to fix with the 
file resource, but I like the way that ssh_authorized_keys works.  You specify 
a user and just as I expected, file ownership and permissions were setup 
properly.
----------------------------------------
Bug #2014: sshkey creates /etc/ssh/ssh_known_hosts with mode 600
http://projects.reductivelabs.com/issues/2014

Author: Todd Zullinger
Status: Accepted
Priority: Normal
Assigned to: Luke Kanies
Category: ssh
Target version: Rowlf
Affected version: 0.24.7
Keywords: ssh known_hosts
Branch: 


Using the sshkey type /etc/ssh/ssh_known_hosts is created with mode 600 by 
default.  This seems undesirable in most situations.  I think the default 
should be 644.  I didn't see anything obvious in the sshkey code that set it 
strictly on purpose.  Does puppet default to 600 somewhere?  And is there a 
simple way to tweak a type to use a different mode?  This seems like a similar 
issue to #1538.  Of course, it's not an inifile, so the fix will be different.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to