semanage fcontext -a -t bin_t '/app/bin/.*'
chcon -Rv -u system_u -t bin_t '/app/data/executable.sh'
semanage fcontext --list
Over 1 file:
restorecon -v /var/www/html/index.html
or to recursively restore the default security contexts for the whole directory:
restorecon -Rv /var/www/html
semanage port -a -t http_port_t -p tcp 81
semanage port -l