salt.states.file.replace should honor user and group #8399
Labels
Bug
broken, incorrect, or confusing behavior
severity-low
4th level, cosemtic problems, work around exists
Milestone
Currently,
salt.states.file.replace
changes the ownership of the file that is being updated. I believe this state should honor the original user/group and additionally support theuser
andgroup
parameters as most of the otherfile
states.I worked around this issue by using a
file.managed
state later on the process to manage the ownership.The text was updated successfully, but these errors were encountered: