Skip to content
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

logrotate nginx conf permissions #144

Open
johnlauck opened this issue Jan 12, 2014 · 0 comments
Open

logrotate nginx conf permissions #144

johnlauck opened this issue Jan 12, 2014 · 0 comments

Comments

@johnlauck
Copy link

The /etc/logrotate.d/nginx recipes specifies 0655 permissions. It should be 0644.

Otherwise, in my experience (with the EYv4 stack) logrotate will error on bad file mode and skip rotation.

app:production logrotate.d $ sudo logrotate -d /etc/logrotate.d/nginx
Ignoring /etc/logrotate.d/nginx because of bad file mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant