We are experiencing errors such as "directory does not exist, or has no write permissions" or "Permission denied in /home/adminuser/public_html/system..." or "Permission denied in /home/adminuser/storage/logs...".
Code:
/public_html/
drwxr-x--- 18 adminuser nobody 4096 Apr 27 09:59 public_html
drwxr-xr-x 9 adminuser adminuser 4096 Apr 21 11:18 system
/storage/ (located outside public_html)
drwxr-xr-x 12 adminuser adminuser 4096 Mar 31 15:13 storage
drwxrwxrwx 2 adminuser adminuser 4096 Apr 27 10:42 logs
public_html
is set to 0750. The others should be 0755 for folders inside public_html
and 0644 for files. In order to bypass 'directory does not exist' or 'permission denied' errors, we have temporarily set some folders such as 'logs
' to 0777, which presents a big security risk. Does anyone have suggestions? Are there issues with the folder ownership settings?DEFAULT PHP: ea-php74
ea-php74 SAPI: dso
Last edited: