Last active
August 29, 2015 13:57
-
-
Save louis89/9647601 to your computer and use it in GitHub Desktop.
SELinux policy allowing Apache web server to read a symbolic link at MySQL's default main data directory location (Useful to keep default configurations after moving MySQL's main data directory)
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
| # @author Louis DaPrato <[email protected]> | |
| module httpd_read_mysql_lnk_file 1.0; | |
| require { | |
| type mysqld_db_t; | |
| type httpd_t; | |
| class lnk_file read; | |
| } | |
| #============= httpd_t ============== | |
| allow httpd_t mysqld_db_t:lnk_file read; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment