semanage-fcontext
Verified for current stable LTS
Semanage Fcontext Commands
Semanage Fcontext command syntax with verified terminal examples.
Commands
6 commands for Semanage Fcontext
semanage-fcontext HTTP
Semanage Fcontext Command: Add Labeling Equivalence Between Subpaths Linux
sudo semanage fcontext -a -e /<path/to/ref> /<path/to/target> semanage-fcontext Search
Semanage Fcontext Command: Add User Defined File Labeling Rule Linux
sudo semanage fcontext -a -t <samba_share_t> '</mnt/share(/.*)?>' semanage-fcontext Search
Semanage Fcontext Command: Delete User Defined File Labeling Rule Linux
sudo semanage fcontext -d '</mnt/share(/.*)?>' semanage-fcontext Search
Semanage Fcontext Command: List File Labeling Rules Linux
sudo semanage fcontext -l semanage-fcontext Search
Semanage Fcontext Command: List User Defined File Labeling Rules No Headings Linux
sudo semanage fcontext -lCn semanage-fcontext Search
Semanage Fcontext Command: Relabel Directory Recursively Linux
restorecon -Rv <path/to/directory> Suggest a Semanage Fcontext Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Semanage Fcontext workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.