[Libguestfs] [PATCH 2/2] customize: fix ownership when creating ~/.ssh/authorized_keys (RHBZ#1337561)

Richard W.M. Jones rjones at redhat.com
Thu May 19 21:52:20 UTC 2016


On Thu, May 19, 2016 at 05:17:31PM +0200, Pino Toscano wrote:
> When creating ~/.ssh and ~/.ssh/authorized_keys (in case they are
> missing), change their ownership to the target user.  If not, they are
> owned by root.

That was simpler than I feared it was going to be :-)

ACK series.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list