Skip to content
Snippets Groups Projects
Commit 4b05bee8 authored by Marco Malavolti's avatar Marco Malavolti
Browse files

Fixed SELinux permissions

parent 159a6174
Branches
Tags v2.0.1
No related merge requests found
...@@ -273,9 +273,9 @@ After the initial download, it is recommended that you occasionally go through t ...@@ -273,9 +273,9 @@ After the initial download, it is recommended that you occasionally go through t
* CentOS: * CentOS:
* `sudo yum install mod_proxy_uwsgi unzip` * `sudo yum install mod_proxy_uwsgi unzip`
* Configure SElinux to enable ECCS: * Configure SElinux to enable ECCS:
* `sudo semanage fcontext -a -t http_sys_content_t $HOME/eccs/eccs.conf` * `sudo semanage fcontext -a -t httpd_sys_content_t $HOME/eccs/eccs.conf`
* `sudo restorecon -v $HOME/eccs/eccs.conf` * `sudo restorecon -v $HOME/eccs/eccs.conf`
* `sudo semanage fcontext -a -t http_sys_content_t $HOME/eccs/html(/.*)?` * `sudo semanage fcontext -a -t httpd_sys_content_t $HOME/eccs/html(/.*)?`
* `sudo restorecon -R -v "$HOME/eccs/html/"` * `sudo restorecon -R -v "$HOME/eccs/html/"`
* `sudo setsebool -P httpd_can_network_connect 1` * `sudo setsebool -P httpd_can_network_connect 1`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment