Created
September 1, 2022 11:35
-
-
Save slav123/04d700716b1bba8e0b395c971fdc7ccb to your computer and use it in GitHub Desktop.
SeLinux write
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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