mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00

This mirrors the user/group checks which set `perms["cuser"]` etc when there are changes expected. These values are used to determine if we need to return changes in `ret["changes"]`. Before this commit `file.chec_perms` was returning `mode` changes for new files which didn't match the original behaviour.
2 lines
114 B
Text
2 lines
114 B
Text
Include UID and GID checks in modules.file.check_perms as well as comparing
|
|
ownership by username and group name.
|