myhelp:selinux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| myhelp:selinux [2024/03/07 12:13] – ulrich | myhelp:selinux [2024/03/07 12:51] (current) – ulrich | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| # Set Lables for custom folders | # Set Lables for custom folders | ||
| - | + | ## Look in / | |
| - | 1. Look in / | + | |
| ``` | ``` | ||
| grep dokuwiki / | grep dokuwiki / | ||
| Line 7: | Line 6: | ||
| ``` | ``` | ||
| - | 1. Add a new content to your new folder/ | + | ## Add a new content to your new folder/ |
| ``` | ``` | ||
| semanage fcontext -a -t httpd_sys_rw_content_t '/ | semanage fcontext -a -t httpd_sys_rw_content_t '/ | ||
| ``` | ``` | ||
| - | 1. Restore the context | + | ## Restore the context |
| ``` | ``` | ||
| restorecon -Rv / | restorecon -Rv / | ||
| Line 22: | Line 21: | ||
| semanage boolean -l | semanage boolean -l | ||
| ``` | ``` | ||
| - | |||
| OR | OR | ||
| - | |||
| ``` | ``` | ||
| getsebool -a | getsebool -a | ||
myhelp/selinux.1709813609.txt.gz · Last modified: by ulrich
