I am getting the following error on Redhat7:
errors occured while rotating /var/log/messages {
failed to rename /var/log/messages to /var/log/messages.1: Operation
not permitted
error: error creating /var/log/messages: Operation not permitted
my messages file is owned and grouped to root.
The file has RW access for user only.
Can anyone tell me why this might not be working?