Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save algotrader-dotcom/6ccb6139ffd0584bba10 to your computer and use it in GitHub Desktop.
Save algotrader-dotcom/6ccb6139ffd0584bba10 to your computer and use it in GitHub Desktop.
Apache : Permission denied because search permissions are missing on a component of the path
## This will be fixed by
find /var/www -type d -exec chmod 755 {} \;
find /var/www -type f -exec chmod 644 {} \;
@delphi1000
Copy link

setsebool -P httpd_enable_homedirs 1

chcon -R -t httpd_sys_content_t /home/user/public_html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment