mirror of https://github.com/ansible/ansible.git
Update file module to not recurse when setting ownership
This updates set_owner_if_different() and set_group_if_different() to not implicitly recurse when setting ownership (whether user or group). It drops the os.system() call and replaces it with os.chown(). Resolves issue #825. The recursion should be explicit. A recurse=yes|no option should be added to the file module.pull/838/head
parent
eab71aae69
commit
94696fb88e
Loading…
Reference in New Issue