file
11 KB
-
Update file module to not recurse when setting ownership · 94696fb8
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.
Stephen Fromm committed