broncowdd/BoZoN

Permissions issue

Opened this issue · 1 comments

Hello,

after instalation i got this errors:
Private folder is not writable
Temp folder is not writable
Temp folder is not readable

also setting up admin password return:
Private folder is not writable
Temp folder is not writable
Temp folder is not readable
auto_restrict error: token folder is not writeable
auto_restrict: problem saving users

Here are the permissions:
drwxrwxrwx. 8 apache apache 222 Jul 4 14:07 .
drwxr-xr-x. 4 root root 33 Jul 4 14:00 ..
-rw-rw-r--. 1 apache apache 9072 Mar 22 10:31 changelog.md
-rw-rw-r--. 1 apache apache 3991 Mar 22 10:31 config.php
-rw-rw-r--. 1 apache apache 429 Mar 22 10:31 contributors.md
drwxrwxr-x. 3 apache apache 4096 Mar 22 10:31 core
-rw-rw-r--. 1 apache apache 28 Mar 22 10:31 .gitignore
-rw-rw-r--. 1 apache apache 1748 Mar 22 10:31 index.php
-rw-rw-r--. 1 apache apache 32308 Mar 22 10:31 LICENCE.md
drwxrwxr-x. 2 apache apache 62 Mar 22 10:31 locale
drwxr-xr-x. 2 apache apache 6 Jul 4 14:07 private
-rw-rw-r--. 1 apache apache 4337 Mar 22 10:31 readme.md
drwxrwxrwx. 2 apache apache 6 Jul 4 14:07 temp
drwxrwxr-x. 3 apache apache 21 Mar 22 10:31 templates
drwxrwxrwx. 2 apache apache 41 Jul 4 14:07 uploads

Can anyone help ?

Regards,
Andrei

I'm no Unix expert but I had the same issue on my install - basically I changed the permissions to 0750 and it all worked (this could maybe be in the instructions/readme as it took me a while to work out as well).

I put mine in a folder called files and my Apache user is www-data so adjust as appropriate

drwxr-x--- 8 www-data www-data 4096 Aug 12 18:28 files

chmod 0750 -R /var/www/html/files/
chown www-data:www-data -R /var/www/html/files/

This was useful to me to work it out - https://stackoverflow.com/questions/5165183/apache-permissions-php-file-create-mkdir-fail

Hope this helps