- By default, newly-created files and directories inherit the SELinux type of their parent directories.
However, when installing a RHEL 8.3 system with non-standard mount points such as
/applications, the directory is created with
etc_runtime_tSELinux context instead of
# ls -Zd /applications drwxr-xr-x. 2 root root unconfined_u:object_r:etc_runtime_t:s0 6 Mar 1 12:24 applications
restorecon -Rvcommand after the build is complete, automatically applies correct
- Creating new directories in
/after the RHEL 8.3 system has been installed, automatically applies the expected
- Red Hat Enterprise Linux 8.3.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.