I’ve seen using move instead of copy do some odd things with permissions. It shouldn’t be an issue in this case, but something to keep in mind in others.
Sorry for the bump 2 years later, but I wanted to add this:
Related:
- https://bigfix.me/fixlet/details/23379
- https://www.bigfix.me/analysis/details/2994561
- https://bigfix.me/fixlet/details/23381
- https://www.bigfix.me/analysis/details/2998257
- https://bigfix.me/fixlet/details/23380
- https://www.bigfix.me/fixlet/details/20536
- Adding host file entry with Bigfix server
- Appending entry into the HOSTS file - #9 by system
- Appending a wildcard IP entry to /etc/hosts on Windows - #2 by Sean