Log ownership getting changed automatically
Issue
- The ownership of system logs is being changed automatically. Below,
/var/log/messageswas rotated and the ownership is nowapache:apache:
[root@host ~]# ls -la /var/log/messages
-rw-r----- 1 apache apache 0 May 1 05:28 /var/log/messages
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.