myhelp:selinux
Table of Contents
Set Lables for custom folders
Look in /etc/selinux/targeted/contexts/files/file_contexts 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
Add a new content to your new folder/destination
semanage fcontext -a -t httpd_sys_rw_content_t '/path/to/dokuwiki(/.*)?'
Restore the context
restorecon -Rv /path/to/dokuwiki
List all boolean Values
semanage boolean -l
OR
getsebool -a
myhelp/selinux.txt · Last modified: by ulrich
