4
0
Эх сурвалжийг харах

Typo

fix typo + apply command to sub dir
Henry 8 жил өмнө
parent
commit
67c608d44f

+ 8 - 1
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
 ```

+ 7 - 1
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
 ```