Beheer persistente SELinux-beveiligingscontextregels op bestanden/mappen. Zie ook:
semanage
,matchpathcon
,secon
,chcon
,restorecon
. Meer informatie: https://manned.org/semanage-fcontext.
sudo semanage fcontext --list
sudo semanage fcontext --list --locallist --noheading
sudo semanage fcontext --add --type {{samba_share_t}} {{'/mnt/share(/.*)?'}}
sudo semanage fcontext --delete {{'/mnt/share(/.*)?'}}
restorecon -R -v {{pad/naar/map}}