From 159a61741445f0513957bc78f5142102f92d75ba Mon Sep 17 00:00:00 2001 From: Marco Malavolti <marco.malavolti@gmail.com> Date: Wed, 13 Oct 2021 17:54:09 +0200 Subject: [PATCH] Fixed SELinux permissions --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fa2944c..cfba91e 100644 --- a/README.md +++ b/README.md @@ -273,8 +273,10 @@ After the initial download, it is recommended that you occasionally go through t * CentOS: * `sudo yum install mod_proxy_uwsgi unzip` * Configure SElinux to enable ECCS: - * `sudo semanage fcontext -a -t httpd_sys_content_t "$HOME/eccs(/.*)?"` - * `sudo restorecon -R -e $HOME/eccs/` + * `sudo semanage fcontext -a -t http_sys_content_t $HOME/eccs/eccs.conf` + * `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` ## Configure @@ -342,7 +344,8 @@ To perform a restart after an API change use the following command: # 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 -- GitLab