Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The FPM log file located in /var/log/php-fpm.log has permissions rw------- (600). Other log files have rw-r--r--. How can I configure the file permission to 644?

share|improve this question
up vote 1 down vote accepted
chmod 644 /var/log/php-fpm.log
share|improve this answer
Indeed, that works on an existing log file and is persistent across FPM restarts and server reboots. But if the file is being created for the first time (or if I delete it for some reason, say) the default permission on the new file is still 600. Is there any way to ensure 644 like for other programs' log files? – Rohit Mar 2 '13 at 15:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.