Answers.Body: <p>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. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-16T13:06:42.787Z
Answers.LastActivityDate: 2018-03-16T13:06:42.787Z
Answers.UserDisplayName: Tommy B
Body: <p>What are the best file permissions for</p>
  
  <p>/sites/default/files/civicrm/ConfigAndLog/</p>
  
  <p>username john, group apache</p>
  
  <p>I currently have 770, but I get an error in my ssl_error_log</p>
  
  <p>AH01797: client denied by server configuration: /var/www/xyz/sites/default/files/civicrm/ConfigAndLog/CiviCRM.e612b0519ce870b4405c16c4.log</p>
  
  <p>Shouldn't it just be apache that plugs things in, or are there are things that enter into this log file as well?</p>
  
  <p>Thanks!</p>
  
  <p>John</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-16T10:13:19.220Z
Comments.Text: What are the permissions on the file itself?
Comments.UserDisplayName: Aidan
Tags: <configandlog>
Title: What file permissions for ConfigAndLog
ThreadText: # What file permissions for ConfigAndLog
  
  (Asked by: username_0 on 2018-03-16)
  
  What are the best file permissions for
  
  /sites/default/files/civicrm/ConfigAndLog/
  
  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?
  
  Thanks!
  
  John
  
  **Tags:** configandlog
  
  > **Comments:**
  > **username_1**: What are the permissions on the file itself?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-03-16. Score: 2
  
  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.
  
  
  ---
  
  