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/rsync_data.pyc
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsbeZed�Zed�Zed�ZdZed�Zed�ZdZ	d�Z
d�ZRS(	sN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    s
    SELinux denied RSYNC access to $TARGET_PATH.
    If this is an RSYNC repository, it has to have a file context label of
    rsync_data_t. If you did not intend to use $TARGET_PATH as an RSYNC repository,
    this message could indicate either a bug or an intrusion attempt.
    s
    You can alter the file context by executing chcon -R -t rsync_data_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 rsync_data_t '$FIX_TARGET_PATH'"
    s'chcon -R -t rsync_data_t '$TARGET_PATH's:If $TARGET_BASE_PATH should be shared via the RSYNC daemons1You need to change the label on $TARGET_BASE_PATHs\# semanage fcontext -a -t rsync_data_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'cCstj|t�d|_dS(Ntgreen(Rt__init__t__name__tlevel(tself((s//usr/share/setroubleshoot/plugins/rsync_data.pyR2scCst|jdg�rl|jddg�rl|j|j|j�rl|jddg�rl|j�rl|j�SdSdS(Ntrsync_tt
samba_share_tshttpd_.*_content_ttfiletdir(	tmatches_source_typestmatches_target_typestall_accesses_are_intr_file_permstr_dir_permst
has_tclass_intpath_is_not_standard_directorytreporttNone(Rtavc((s//usr/share/setroubleshoot/plugins/rsync_data.pytanalyze6s
(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdtif_textt	then_texttdo_textRR(((s//usr/share/setroubleshoot/plugins/rsync_data.pyRs				(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s//usr/share/setroubleshoot/plugins/rsync_data.pyt<module>s