myhelp:selinux
**This is an old revision of the document!**
Set Lables for custom folders
- 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:s01. Add a new content to your new folder/destinationsemanage fcontext -a -t httpd_sys_rw_content_t '/path/to/dokuwiki(/.*)?'1. Restore the contextrestorecon -Rv /path/to/dokuwiki# List all boolean Valuessemanage boolean -lORgetsebool -a
myhelp/selinux.1709813609.txt.gz · Last modified: by ulrich
