gurt Posted February 24, 2016 Share Posted February 24, 2016 I am trying to install PrestaShop on a CentOS server, but can't get past the permissions check. I keep getting these errors. Recursive write permissions for Apache user on ~/config/ Recursive write permissions for Apache user on ~/cache/ Recursive write permissions for Apache user on ~/log/ Recursive write permissions for Apache user on ~/img/ Recursive write permissions for Apache user on ~/mails/ Recursive write permissions for Apache user on ~/modules/ Recursive write permissions for Apache user on ~/themes/default-bootstrap/lang/ Recursive write permissions for Apache user on ~/themes/default-bootstrap/pdf/lang/ Recursive write permissions for Apache user on ~/themes/default-bootstrap/cache/ Recursive write permissions for Apache user on ~/translations/ Recursive write permissions for Apache user on ~/upload/ Recursive write permissions for Apache user on ~/download/ I have used chown to recursively set ownership to apache. ls -l yields the following... drwxr-xr-x. 26 apache apache 4096 Feb 19 22:02 public_html I've gone as far as temporarily setting permissions recursively to 777 for the entire directory, but same problem. Any help would be greatly appreciated! Link to comment Share on other sites More sharing options...
gurt Posted February 26, 2016 Author Share Posted February 26, 2016 Found the problem. It was due to the extra security in SE Linux (CentOS). I used this info to fix the problem... https://blog.lysender.com/2015/07/centos-7-selinux-php-apache-cannot-writeaccess-file-no-matter-what/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now