|
@@ -1795,7 +1795,6 @@ configurarSELinux() {
|
|
|
centos)
|
|
|
result=$(yum -y install policycoreutils-python 2>&1)
|
|
|
comprobarError $? 605 $result
|
|
|
-
|
|
|
;;
|
|
|
fedora)
|
|
|
result=$(yum -y install policycoreutils-python-utils 2>&1)
|
|
@@ -1807,7 +1806,7 @@ configurarSELinux() {
|
|
|
esac
|
|
|
fi
|
|
|
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/moodledata(/.*)?" > /dev/null 2>&1
|
|
|
- comprobarError $? 604
|
|
|
+ #comprobarError $? 604
|
|
|
restorecon -R /var/www/ > /dev/null 2>&1
|
|
|
comprobarError $? 604
|
|
|
}
|