관리-도구
편집 파일: cvs_data.cpython-39.pyc
a �����Z`V ����������������������@���sD���d�dl�Z�e�jddd�Zej�Zd�dlT�d�dlmZ�G�dd��de�ZdS�) �����Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc�������������������@���sL���e�Zd�Zed�Zed�Zed�Zed�Zed�ZdZ dZ dd ��Zd d��ZdS�) �pluginzS SELinux is preventing cvs ($SOURCE_PATH) "$ACCESS" access to $TARGET_PATH a�� SELinux denied cvs access to $TARGET_PATH. If this is a CVS repository it needs to have a file context label of cvs_data_t. If you did not intend to use $TARGET_PATH as a CVS repository it could indicate either a bug or it could signal an intrusion attempt. a �� You can alter the file context by executing chcon -R -t cvs_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 cvs_data_t '$FIX_TARGET_PATH'" z8If $TARGET_BASE_PATH should be shared via the cvs daemonz2You need to change the label on $TARGET_BASE_PATH'zZ# semanage fcontext -a -t cvs_data_t '$FIX_TARGET_PATH' # restorecon -v '$FIX_TARGET_PATH'zj/usr/sbin/semanage fcontext -a -t cvs_data_t '$FIX_TARGET_PATH';/usr/sbin/restorecon -v '$FIX_TARGET_PATH'c�����������������C���s&���t��|�t��d|�_td�|�_d|�_d�S�)NTzChange labelZgreen)r����__init__�__name__Zfixable�_Zbutton_text�level)�self��r ����-/usr/share/setroubleshoot/plugins/cvs_data.pyr���3���s���� zplugin.__init__c�����������������C���sD���|��dg�r<|�|j|j��r<|�ddg�r<|���r<|����S�d�S�d�S�)NZcvs_t�file�dir)Zmatches_source_typesZall_accesses_are_inZcreate_file_permsZcreate_dir_permsZ has_tclass_inZpath_is_not_standard_directoryZreport)r ���Zavcr ���r ���r����analyze9���s�������zplugin.analyzeN) r���� __module__�__qualname__r���ZsummaryZproblem_descriptionZfix_descriptionZif_textZ then_textZdo_textZfix_cmdr���r���r ���r ���r ���r���r������s���r���)�gettextZtranslationr���Zsetroubleshoot.utilZsetroubleshoot.Pluginr���r���r ���r ���r ���r����<module>���s ���