What are the best file permissions for


username john, group apache

I currently have 770, but I get an error in my ssl_error_log

AH01797: client denied by server configuration: /var/www/xyz/sites/default/files/civicrm/ConfigAndLog/CiviCRM.e612b0519ce870b4405c16c4.log

Shouldn't it just be apache that plugs things in, or are there are things that enter into this log file as well?



  • What are the permissions on the file itself?
    – Aidan
    Mar 16, 2018 at 10:13

1 Answer 1


The files and directory need to be group writeable, and you need the which ever user that is running cron to be in that group. Check to see if cron is being run by root, that can create log files that are root only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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