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

fpm_log_dir is created with world writable permissions. #27

Closed
AlexeyDemidov opened this issue Oct 8, 2015 · 0 comments
Closed

fpm_log_dir is created with world writable permissions. #27

AlexeyDemidov opened this issue Oct 8, 2015 · 0 comments

Comments

@AlexeyDemidov
Copy link

recipe/fpm.rb creates node['php']['fpm_log_dir'] with permissions 01733. As a result logrotate refuses to rotate any log files with following message:

/etc/cron.daily/logrotate:
error: skipping "/var/log/php5-fpm/fpm-master.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.

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