engineyard / engineyard/ey-cloud-recipes
logrotate nginx conf permissions
Open
- 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.