salt/changelog/62818.fixed
Nick Rhodes 95ba6566b1 If mode changes set perms["cmode"] in file.check_perms
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.
2022-10-06 17:36:49 -07:00

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.