wallabag / doc

Documentation repository for wallabag v2.
https://doc.wallabag.org
23 stars 59 forks source link

Missing SELinux fcontext rule #148

Open 8191 opened 3 years ago

8191 commented 3 years ago

It seems that wallabag needs to write to some more directories not listed in the SELinux section of doc/en/admin/installation/rightaccess.md.

I recommend adding following line:

semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/wallabag/var/sessions(/.*)?"
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/wallabag/var/logs(/.*)?"
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/wallabag/assets/images(/.*)?"