Only chown on atomic move if invoked as root
Only chown on atomic move if invoked as root

Linux and BSD derivatives do not allow unprivileged users to
"give away" files to others for security reasons. (System V
derivatives allow that but they're rare nowadays.)

thaim/ansible,thaim/ansible