Log files have incorrect permissions after being rotated
Issue
- Log files in
/var/log/
have incorrect permissions after being rotated withlogrotate
- Permissions of new log files not inheriting custom permissions of rotated logs
/var/log/messages
is set with 644 permissions, but afterlogrotate
,/var/log/messages
returns to 600 permissions
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.