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 <code>grep dokuwiki /etc/selinux/targeted/contexts/files/filecontexts
/var/lib/dokuwiki(/.)? systemu:objectr:httpdsysrwcontentt:s0 </code> - Add a new content to your new folder/destination <code>semanage fcontext -a -t httpdsysrwcontentt '/path/to/dokuwiki(/.)?'</code>
- Restore the context
restorecon -Rv /path/to/dokuwiki
List all boolean Values
semanage boolean -l
OR
getsebool -a
myhelp/selinux.1709813696.txt.gz · Last modified: by ulrich
