Hi,
My puppet agent was running as root, anyway to bypass this issue I just have to create a File ressource for .ssh/authorized with the user's uid and user's gid. And now no problem. Thx. On Thu, Mar 15, 2012 at 2:01 PM, jcbollinger <john.bollin...@stjude.org>wrote: > > > On Mar 14, 10:13 am, Antidot SAS <antidot...@gmail.com> wrote: > > After a little bit of digging it seems that the error is due to rights of > > '/home/user/.ssh'. > > > > In fact puppet tries to create those with the following rights: > > drwxr-xr-x 2 test test 4096 Mar 14 15:51 /home/test > > drwx------ 2 test root 4096 Mar 14 15:51 /home/test/.ssh > > > > When I change the rights to: > > drwxr-x--- 2 test root 4096 Mar 14 15:51 /home/test/.ssh > > > > puppet completes is job, I found a similar bug: > http://projects.puppetlabs.com/issues/5395but it seems to be closed. > > > > Any thoughts? > > > Yes: something is wrong with the way you are running Puppet. To be > effective, the agent needs to run as root, or else as an equally- > privileged user. Additional requirements apply where clients run > SELinux in enforcing mode. If the agent process had the right > privilges then directory ownership and permissions would not interfere > with its operation. > > > John > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.