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__/filesystem_associate.cpython-36.pyc
3

m��a�	�@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@sLeZdZed�Zed�Zed�Zed�Zed�Zed�Z	dd�Z
d	d
�ZdS)�pluginzq
    SELinux is preventing $SOURCE_PATH from creating a file with a context of $SOURCE_TYPE on a filesystem.
    a
    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.
    zX
    Use a command like "cp -p" to preserve all permissions except SELinux context.
    zTIf you believe $SOURCE_BASE_PATH should be allowed to create $TARGET_BASE_PATH fileszsyou need to use a different command. You are not allowed to preserve the SELinux context on the target file system.zNuse a command like "cp -p" to preserve all permissions except SELinux context.cCstj|t�|jd�dS)N�d)r�__init__�__name__Zset_priority)�self�r	�9/usr/share/setroubleshoot/plugins/filesystem_associate.pyr0szplugin.__init__cCs@|jdg�r8|jdg�r8|jjtkr8|jdg�r8|j�SdSdS)Nz.*fs_tZ	associateZ
filesystem)Zmatches_target_typesZall_accesses_are_inZtcontext�typeZ
file_typesZ
has_tclass_inZreport)rZavcr	r	r
�analyze4szplugin.analyzeN)r�
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZif_textZ	then_textZdo_textrrr	r	r	r
rsr)�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrr	r	r	r
�<module>s