File: //usr/share/setroubleshoot/plugins/catchall_labels.pyc
�
c�L]c @ s^ d d l Z e j d d e �Z e j Z d d l Td d l m Z d e f d � � YZ d S( i����Ns setroubleshoot-pluginst fallback( t *( t Plugint pluginc B s; e Z e d � Z e d � Z d � Z d � Z d � Z RS( s�
SELinux has denied the $SOURCE access to potentially
mislabeled files $TARGET_PATH. This means that SELinux will not
allow httpd to use these files. If httpd should be allowed this access to these files you should change the file context to one of the following types, %s.
Many third party apps install html files
in directories that SELinux policy cannot predict. These directories
have to be labeled with a file context which httpd can access.
s0 You need to change the label on $FIX_TARGET_PATHc C s t d � d j | � S( Ns� # semanage fcontext -a -t FILE_TYPE '$FIX_TARGET_PATH'
where FILE_TYPE is one of the following: %s.
Then execute:
restorecon -v '$FIX_TARGET_PATH'
s , ( t _t join( t selft avct args( ( s4 /usr/share/setroubleshoot/plugins/catchall_labels.pyt get_do_text'