The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
To restore the default file type of the directory hierarchy
/var/webcontent after previously changing
it to httpd_sys_content_t:
Use the semanage command to delete the file type definition for the directory hierarchy from the file
/etc/selinux/targeted/contexts/files/file_contexts.local:#
/usr/sbin/semanage fcontext -d "/var/webcontent(/.*)?"Use the restorecon command to apply the default file type to the entire directory hierarchy.
#
/sbin/restorecon -R -v /var/webcontent

