engineyard / engineyard/ey-cloud-recipes

logrotate nginx conf permissions

Open
#144 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
HTML
Stars
977
Forks
283
PR merge metrics
No merged PRs in 30d

Description

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.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.