SE Linux is automatically disabled during installation of nmsprime-base.
See: https://github.com/schmto/nmsprime/blob/dev/Install/after_install.sh
# in /etc/sysconfig/selinux echo " # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. #SELINUX=enforcing SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted # SETLOCALDEFS= Check local definition changes SETLOCALDEFS=0 " > /etc/sysconfig/selinux # disable at runtime - NOTE: it's still possible that a reboot is necessary setenforce 0
alternative
# or prevent blocking the app/storage directory sudo su chcon -R -h -t httpd_sys_script_rw_t /var/www/lara/storage