I'm running CentOS 6.2 and installed nginx as root. After the install I changed the owner and group of the install to it's own user and group to keep thing a bit more secure.
I logged in as root and ran yum update which updated nginx and I noticed a lot of the file owners groups were reverted back to root.
Is there a way I can retain the ownership I want when performing updates? Maybe login as the nginx user and performing the update (is that even possible or recommended?)
/etc/nginxand also the ones in/usr/share/nginxbut I have since moved the files in the latter directory to another location. – ProfessionalAmateur Jul 20 '12 at 20:28nginx. :) – Michael Hampton Jul 20 '12 at 20:32