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/messagesis set with 644 permissions, but afterlogrotate,/var/log/messagesreturns to 600 permissions
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
