New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insecure permissions in parent directory #589
Comments
What is the mode of |
The permissions are:
Maybe I'm reading it wrong. Should the |
The check suggests to use the identity of the parent directory, so |
Finally I'm using
It looks like I needed to fix the Thank you so much for your help!! |
Hello
I have recently installed logrotate (3.19.0) in Ubuntu 22.04 and I can't make it rotate postfix logs.
My configuration is like so:
If I run this file with
sudo logrotate --force /etc/logrotate.d/postfix
it skips the rotation with the following error:so I change the configuration to
and then it fails with the following error:
Changing the
create 0640 syslog adm
directive forcopytruncate
does not change anything.The
su
directive in/etc/logrotate.conf
issu root adm
.This configuration is working with logrotate (3.14.0) in Ubuntu 20.04:
In both servers (Ubuntu 20 and Ubuntu 22) the permissions for
/var/log
are775
and owners areroot:syslog
. I don't think I have ever changed these from default values.What am I missing? Has there anything changed from version 3.14 to 3.19 that may lead to this?
Thank you very much!
The text was updated successfully, but these errors were encountered: