restorecon

Restore SELinux security context on files/directories according to persistent rules. See also: semanage-fcontext. More information: <https://manned.org/restorecon>.

Debian Debian
RUN apt-get update && \ apt-get install -y policycoreutils
Ubuntu
RUN apt-get update && \ apt-get install -y policycoreutils
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y policycoreutils
CentOS
RUN yum install -y policycoreutils
Fedora
RUN dnf install -y policycoreutils
Raspbian
RUN apt-get update && \ apt-get install -y policycoreutils
click the source code to copy install restorecon on any operating system with command-not-found.com