| Server IP : 77.68.64.20 / Your IP : 216.73.216.223 Web Server : Apache System : Linux hp3-wp-1011317.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els8.x86_64 #1 SMP Sun Jul 5 17:25:39 UTC 2026 x86_64 User : csh2392878 ( 2033753) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/setroubleshoot/plugins/ |
Upload File : |
�
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 sb e Z e d � Z e d � Z e d � Z d Z d � Z e d � Z e d � Z d Z
d � Z RS( sN
SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
sb
SELinux denied access to $TARGET_PATH requested by $SOURCE.
$TARGET_PATH has a context used for sharing by a different program. If you
would like to share $TARGET_PATH from $SOURCE also, you need to
change its file context to public_content_t. If you did not intend to
allow this access, this could signal an intrusion attempt.
s
You can alter the file context by executing chcon -t public_content_t '$TARGET_PATH'
You must also change the default file context files on the system in order to preserve them even on a full relabel. "semanage fcontext -a -t public_content_t '$FIX_TARGET_PATH'"
s( chcon -t public_content_t '$TARGET_PATH'c C s! t j | t � | j d � d S( Ni ( R t __init__t __name__t set_priority( t self( ( s3 /usr/share/setroubleshoot/plugins/public_content.pyR . s s8 If you want to treat $TARGET_BASE_PATH as public contents] You need to change the label on $TARGET_BASE_PATH to public_content_t or public_content_rw_t.s` # semanage fcontext -a -t public_content_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'c C sd | j d d d d d d g � r\ | j d d d g � r\ | j | j | j � r\ | j � Sd Sd S(
Nt smbd_tt httpd_tt ftpd_tt httpd_sys_script_tt nfsd_tt rsync_tt
samba_share_ts httpd_.*_content_tt rsync_data_t( t matches_source_typest matches_target_typest all_accesses_are_int r_file_permst r_dir_permst reportt None( R t avc( ( s3 /usr/share/setroubleshoot/plugins/public_content.pyt analyze8 s
!
( R t
__module__t _t summaryt problem_descriptiont fix_descriptiont fix_cmdR t if_textt then_textt do_textR ( ( ( s3 /usr/share/setroubleshoot/plugins/public_content.pyR s ( t gettextt translationt TrueR t setroubleshoot.utilt setroubleshoot.PluginR R ( ( ( s3 /usr/share/setroubleshoot/plugins/public_content.pyt <module> s