If you upgrade a package, yum sets the file permissions to the permissions that are set in the new version of the package.
How can I stop it doing this?
I use puppet, and by default the directory you place the puppet config in is 755 and owned by root. However I want a user other than root be able to write to that directory, so I changed the permissions. But when I run
yum upgrade puppet it changes the permissions back to how they were before. I want it to leave the permissions alone for directories/files that already exist.
Edit: doing the upgrade then setting the permissions back to what I want manually is not really an option, as one of the directories is a
CIFS mount that is read-only, so even root cannot change the permissions of those directories.