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/filesystem_associate.pyc
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsbeZed�Zed�Zed�Zed�Zed�Zed�Zd�Z	d�Z
RS(sq
    SELinux is preventing $SOURCE_PATH from creating a file with a context of $SOURCE_TYPE on a filesystem.
    s
    SELinux is preventing $SOURCE from creating a file with a context of $SOURCE_TYPE on a filesystem.
    Usually this happens when you ask the cp command to maintain the context of a file when
    copying between file systems, "cp -a" for example.  Not all file contexts should be maintained
    between the file systems.  For example, a read-only file type like iso9660_t should not be placed
    on a r/w system.  "cp -p" might be a better solution, as this will adopt the default file context
    for the destination.
    sX
    Use a command like "cp -p" to preserve all permissions except SELinux context.
    sTIf you believe $SOURCE_BASE_PATH should be allowed to create $TARGET_BASE_PATH filesssyou need to use a different command. You are not allowed to preserve the SELinux context on the target file system.sNuse a command like "cp -p" to preserve all permissions except SELinux context.cCs!tj|t�|jd�dS(Nid(Rt__init__t__name__tset_priority(tself((s9/usr/share/setroubleshoot/plugins/filesystem_associate.pyR0scCsZ|jdg�rR|jdg�rR|jjtkrR|jdg�rR|j�SdSdS(Ns.*fs_tt	associatet
filesystem(tmatches_target_typestall_accesses_are_inttcontextttypet
file_typest
has_tclass_intreporttNone(Rtavc((s9/usr/share/setroubleshoot/plugins/filesystem_associate.pytanalyze4s
(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontif_textt	then_texttdo_textRR(((s9/usr/share/setroubleshoot/plugins/filesystem_associate.pyRs				(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s9/usr/share/setroubleshoot/plugins/filesystem_associate.pyt<module>s