Skip to content

Instantly share code, notes, and snippets.

@louis89
Created May 15, 2015 02:02
Show Gist options
  • Save louis89/c8ee16ebe5a1898fb177 to your computer and use it in GitHub Desktop.
Save louis89/c8ee16ebe5a1898fb177 to your computer and use it in GitHub Desktop.
Add SELinux fcontext for mysql root directory in /home
sudo semanage fcontext -t mysqld_db_t -s system_u -a "/home/mysql(/.*)?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment