User Tools

Site Tools


myhelp:selinux

**This is an old revision of the document!**

Set Lables for custom folders

  1. Look in /etc/selinux/targeted/contexts/files/filecontexts if you find your app grep dokuwiki /etc/selinux/targeted/contexts/files/file_contexts /var/lib/dokuwiki(/.*)? system_u:object_r:httpd_sys_rw_content_t:s0 1. Add a new content to your new folder/destination semanage fcontext -a -t httpd_sys_rw_content_t '/path/to/dokuwiki(/.*)?' 1. Restore the context restorecon -Rv /path/to/dokuwiki # List all boolean Values semanage boolean -l OR getsebool -a
myhelp/selinux.1709813609.txt.gz · Last modified: by ulrich