boywijnmaalen
9/15/2016 - 9:53 AM

SeLinux

SeLinux

# 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>