Issue #22357 has been reported by Rodney Beede.

----------------------------------------
Feature #22357: ssh_authorized_key should have override option to allow writing 
to read-only .ssh/authorized_keys file
https://projects.puppetlabs.com/issues/22357

* Author: Rodney Beede
* Status: Unreviewed
* Priority: Low
* Assignee: 
* Category: ssh
* Target version: 
* Affected Puppet version: 
* Keywords: ssh permissions override
* Branch: 
----------------------------------------
If the ~/.ssh/authorized_keys file has permissions like 0400 then you get an 
error like:

 Could not evaluate: Puppet::Util::FileType::FileTypeFlat could not write 
/home/username/.ssh/authorized_keys: Permission denied - 
/home/username/.ssh/authorized_keys


To prevent accidental changes outside of Puppet to .ssh/authorized_keys I like 
to mark the file as read-only.  It seems that this causes ssh_authorized_key to 
fail to write to the file.  It'd be nice if I could tell ssh_authorized_key to 
override that and write to the file anyway.  Ideally the file permissions would 
be left the same after Puppet is one with it (file is read-only).


-- 
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://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to