summaryrefslogtreecommitdiff
path: root/docs/en/users/07_Frequently_Asked_Questions.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/users/07_Frequently_Asked_Questions.md')
-rw-r--r--docs/en/users/07_Frequently_Asked_Questions.md9
1 files changed, 8 insertions, 1 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