Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions issue #224

Open
OrbGid opened this issue Jul 4, 2017 · 1 comment
Open

Permissions issue #224

OrbGid opened this issue Jul 4, 2017 · 1 comment

Comments

@OrbGid
Copy link

OrbGid commented Jul 4, 2017

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

@domOrielton
Copy link

domOrielton commented Aug 12, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants