Created
December 30, 2016 07:44
-
-
Save dungdt88/31d772d9196dd96006a5e2c2524e59e2 to your computer and use it in GitHub Desktop.
Fix issue when apache user cannot write to some directory due to SELinux
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
chcon -R -t httpd_sys_content_t /path/to/directory | |
chcon -R -t httpd_sys_content_rw_t /path/to/directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment