[CentOS] non-root access to log files

Steven Tardy sjt5 at its.msstate.edu
Fri Mar 26 17:15:33 UTC 2010


Carlos Santana wrote:
> I would like to give read-only access to mysql and apache-http server
> log files to a non-root user. I can modify group or other permissions.
> But is there any other way you can suggest? Can I update it in user's
> home dir?

man logrotate

specifically look at:
    create mode owner group


More information about the CentOS mailing list