HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/share/setroubleshoot/plugins/__pycache__/public_content.cpython-36.pyc
3

m��aF
�@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@sLeZdZed�Zed�Zed�ZdZdd�Zed�Z	ed�Z
d	Zd
d�ZdS)
�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'cCstj|t�|jd�dS)N�)r�__init__�__name__Zset_priority)�self�r	�3/usr/share/setroubleshoot/plugins/public_content.pyr.szplugin.__init__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'cCsH|jddddddg�r@|jddd	g�r@|j|j|j�r@|j�SdSdS)
NZsmbd_tZhttpd_tZftpd_tZhttpd_sys_script_tZnfsd_tZrsync_tZ
samba_share_tzhttpd_.*_content_tZrsync_data_t)Zmatches_source_typesZmatches_target_typesZall_accesses_are_inZr_file_permsZr_dir_permsZreport)rZavcr	r	r
�analyze8s
zplugin.analyzeN)
r�
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdrZif_textZ	then_textZdo_textrr	r	r	r
rsr)�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrr	r	r	r
�<module>s