File permissions

Permalink
Hello everyone!
I'm trying to setup a Concrete5.7 on a CentOS server and everything was fine, until I started a Conrete install iself. It just writes 'Writable Files and Configuration Directories' error, but all listed folders have 777 (temporarily) permissions and root:apache owner.
What can I do to solve this? Thank you!

 
2deez replied on at Permalink Reply
2deez
Might seem like a dumb question but, are you installing Concrete5 within the public_html directory or are you trying to install under it?
Messier82 replied on at Permalink Reply
The server is a VPS, so I'm fully installing whole LAMP stack by myself and I'm installing it under /var/www/html, that is basically public_html folder
Messier82 replied on at Permalink Reply
Problem solved!
Needed to execute a
sudo chcon -R -t httpd_sys_rw_content_t %web-root-folder%