From 67c608d44f92b426dc100db87e4052a22585d691 Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 18 Mar 2018 12:46:55 +0100 Subject: Typo fix typo + apply command to sub dir --- docs/en/users/07_Frequently_Asked_Questions.md | 9 ++++++++- docs/fr/users/07_Frequently_Asked_Questions.md | 8 +++++++- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3