aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Henry <hf.nospam@free.fr> 2018-03-18 12:46:55 +0100
committerGravatar Henry <hf.nospam@free.fr> 2018-03-18 12:46:55 +0100
commit67c608d44f92b426dc100db87e4052a22585d691 (patch)
treea1a1cc1cc0372bc7b556c8ae08b407556f152a8b /docs
parent6bac71b2e8c2bc73659189ba752cbf7d158e89b3 (diff)
Typo
fix typo + apply command to sub dir
Diffstat (limited to 'docs')
-rw-r--r--docs/en/users/07_Frequently_Asked_Questions.md9
-rw-r--r--docs/fr/users/07_Frequently_Asked_Questions.md8
2 files changed, 15 insertions, 2 deletions
diff --git a/docs/en/users/07_Frequently_Asked_Questions.md b/docs/en/users/07_Frequently_Asked_Questions.md
index 08148ef98..252e9c461 100644
--- a/docs/en/users/07_Frequently_Asked_Questions.md
+++ b/docs/en/users/07_Frequently_Asked_Questions.md
@@ -57,10 +57,17 @@ Some Linux distribution like Fedora or RedHat Enterprise Linux have SELinux syst
The following commands should be executed as root :
```sh
-semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data
+semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data/cache'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data/users'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data/favicons'
restorecon -Rv /usr/share/FreshRSS/data
+```
+
+If for some reasons right should be granted to the whole data directory (itself and sub-directories), execute the following commands:
+
+```sh
+semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data(/.*)?'
+restorecon -Rv /usr/share/FreshRSS/data
``` \ No newline at end of file
diff --git a/docs/fr/users/07_Frequently_Asked_Questions.md b/docs/fr/users/07_Frequently_Asked_Questions.md
index dd0a64998..94992b154 100644
--- a/docs/fr/users/07_Frequently_Asked_Questions.md
+++ b/docs/fr/users/07_Frequently_Asked_Questions.md
@@ -56,10 +56,16 @@ Certaines distributions Linux comme Fedora ou RedHat Enterprise Linux (RHEL) act
Il faut donc exécuter les commandes suivantes en tant que root :
```sh
-semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data
+semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data/cache'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data/users'
semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data/favicons'
restorecon -Rv /usr/share/FreshRSS/data
+```
+
+Si les droits doivent s'appliquer à tous les sous-répertoires de data et data lui-même, exécuter les commandes suivantes:
+```sh
+semanage fcontext -a -t httpd_sys_rw_content_t '/usr/share/FreshRSS/data(/.*)?'
+restorecon -Rv /usr/share/FreshRSS/data
``` \ No newline at end of file