+
     6gF
  c                   sz    ^ RI t ] P                  ! RRR7      t]P                   t^ RI5 ^ RIHt  ! R R]4      tR# )	i    Nzsetroubleshoot-pluginsT)Zfallback)Z*)Pluginc                   s   a  ] tR t^t o ]! R4      t]! R4      t]! R4      tRtR t	]! R4      t
]! R4      tRtR	 tR
tV tR# )pluginzN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    ab  
    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.
    a  
    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'"
    z(chcon -t public_content_t '$TARGET_PATH'c                s^    \         P                  ! V \        4       V P                  ^4       R# )i   N)r    __init____name__Zset_priority)selfs   &3/usr/share/setroubleshoot/plugins/public_content.pyr   Zplugin.__init__.   s    h'!    z8If you want to treat $TARGET_BASE_PATH as public contentz]You need to change the label on $TARGET_BASE_PATH to public_content_t or public_content_rw_t.z`# semanage fcontext -a -t public_content_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'c                s    VP                  . RO4      '       d\   VP                  . RO4      '       dC   VP                  VP                  VP                  ,           4      '       d   V P                  4       # R# )smbd_tN)r   Zhttpd_tZftpd_tZhttpd_sys_script_tZnfsd_tZrsync_t)Zsamba_share_tzhttpd_.*_content_tZrsync_data_t)Zmatches_source_typesZmatches_target_typesZall_accesses_are_inZr_file_permsZr_dir_permsZreport)r   Zavcs   &&r   analyzeZplugin.analyze8   sU    $$%opp$$%\]]##C$4$4s$FGG;;= r    N)r   Z
__module__Z__qualname__Z__firstlineno___ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdr   Zif_textZ	then_textZdo_textr   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sl       	G   	   	O
 9G JKGqrI&G r   r   )ZgettextZtranslationr
   Zsetroubleshoot.utilZsetroubleshoot.Pluginr    r   r	   r   r   <module>r      s:   &  84H ! (%V %r   