Last active
April 9, 2018 05:05
-
-
Save boywijnmaalen/c7203bdbecf888f246c5a9df5e72249b to your computer and use it in GitHub Desktop.
SeLinux
This file contains 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 doesn't like if files are moved from one place to another. | |
# if were to copy the file than SeLinux will have no problem with it whatsoever. | |
# If you do run into issues; | |
// will give you overview of all SeLinux permissions | |
// files need to match `httpd_sys_content_t` | |
$ ls -lZ | |
// I'm not that familiar with SeLinux BUT here is way to fix the permission for a file | |
$ mv <filename> /tmp | |
$ cp /tmp/<filename> . | |
$ chown apache: <filename> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment