Page 1 of 1

Permissions issue on Installation

Posted: Sat Jan 05, 2019 1:33 pm
by schwarzes
Hello,

I have searched around the forums and couldn't really find an answer to this so posting here.

I am trying to install hesk in a subfolder, example.com/support

Even though all the permissions are set correctly, it's still showing me permissions error on the "2. Check setup" part.

Error: File hesk_settings.inc.php is not writable by PHP.
I am 101% sure that this file is writable by PHP and the chmod is 666.

Error: Folder attachments is not writable by PHP.
101% sure here as well, that the permissions are set to 777.

Error: Folder cache is not writable by PHP.
Same here as above.

Before someone suggests me to "contact my host", I am the host myself and I have tons of websites hosted on this server. So I am 10000% sure that all the permissions are correct. I even checked the error.log and access.log of nginx, nothing in there related to hesk.

Server Specs:
nginx-1.14.2, PHP-FPM 7.2, MariaDB 10.4

Thanks for your time!
Regards.

Re: Permissions issue on Installation

Posted: Sat Jan 05, 2019 4:29 pm
by Klemen
Do you have any PHP script hosted that can write to a file?

Do you have SELinux installed? If yes, try disabling it and see if that works. Some users have also reported this to work (modify to your path):

Code: Select all

$ sudo restorecon -R /var/www/html
$ sudo setsebool -P httpd_unified 1
Also, check the owner/group of the files/folders and set it to the user your PHP runs under (www-data?)