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

Fixed SELinux permissions

parent 380dc768
No related branches found
No related tags found
No related merge requests found
...@@ -273,8 +273,10 @@ After the initial download, it is recommended that you occasionally go through t ...@@ -273,8 +273,10 @@ 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 httpd_sys_content_t "$HOME/eccs(/.*)?"` * `sudo semanage fcontext -a -t http_sys_content_t $HOME/eccs/eccs.conf`
* `sudo restorecon -R -e $HOME/eccs/` * `sudo restorecon -v $HOME/eccs/eccs.conf`
* `sudo semanage fcontext -a -t http_sys_content_t $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`
## Configure ## Configure
...@@ -342,7 +344,8 @@ To perform a restart after an API change use the following command: ...@@ -342,7 +344,8 @@ To perform a restart after an API change use the following command:
# Utility for web interface # Utility for web interface
The available dates are provided by the first and the last file created into the `output/` directory The available dates are provided by the first and the last file created into the `output/` directory,
remember to change its path into `web/eccs.php` file.
## Clean old results ## Clean old results
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment