Skip to content

Instantly share code, notes, and snippets.

@dungdt88
Created December 30, 2016 07:44
Show Gist options
  • Save dungdt88/31d772d9196dd96006a5e2c2524e59e2 to your computer and use it in GitHub Desktop.
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
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