HEX
Server: Apache
System: Linux hp3-stn-1011028.hostingp3.local 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: csh958633 (951153)
PHP: 8.3.30
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: //usr/share/setroubleshoot/plugins/public_content.pyo
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsbeZed�Zed�Zed�ZdZd�Zed�Zed�Z	dZ
d�ZRS(	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'cCs!tj|t�|jd�dS(Ni(Rt__init__t__name__tset_priority(tself((s3/usr/share/setroubleshoot/plugins/public_content.pyR.ss8If 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'cCsd|jddddddg�r\|jddd	g�r\|j|j|j�r\|j�SdSdS(
Ntsmbd_tthttpd_ttftpd_tthttpd_sys_script_ttnfsd_ttrsync_tt
samba_share_tshttpd_.*_content_ttrsync_data_t(tmatches_source_typestmatches_target_typestall_accesses_are_intr_file_permstr_dir_permstreporttNone(Rtavc((s3/usr/share/setroubleshoot/plugins/public_content.pytanalyze8s
!
(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdRtif_textt	then_texttdo_textR(((s3/usr/share/setroubleshoot/plugins/public_content.pyRs				(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s3/usr/share/setroubleshoot/plugins/public_content.pyt<module>s