Skip to content

Instantly share code, notes, and snippets.

@slav123
Created September 1, 2022 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slav123/04d700716b1bba8e0b395c971fdc7ccb to your computer and use it in GitHub Desktop.
Save slav123/04d700716b1bba8e0b395c971fdc7ccb to your computer and use it in GitHub Desktop.
SeLinux write
#SELinux is blocking the read/write operations
chcon -Rv --type=httpd_sys_rw_content_t /var/www/html/ (if you want to allow full web root)
chcon -Rv --type=httpd_sys_rw_content_t /var/www/html/uploads/ (Or just uploads folder)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment