Template and Copy modules failing when using su

I thought this would be the case when su got introduced, I just forgot that atomic copy had the check. You are absolutely correct, the check should be for both sudo and su, it is probably needed in more spots than just atomic move.

Definitely open a github issue regarding this, so that we can keep track of it.

Thanks!

I will do that today, or tonight.