← Back
Editing: samba_share.cpython-312.pyc
� �Z`� � �x � d dl Z e j dd�� Zej Zd dl� d dlmZ G d� de� Zy) � Nzsetroubleshoot-pluginsT)�fallback)�*)�Pluginc �b � e Zd Z ed� Z ed� Z ed� ZdZ ed� Zd� Z d� Z d� Zy ) �pluginzV SELinux is preventing Samba ($SOURCE_PATH) "$ACCESS" access to $TARGET_PATH. a� SELinux denied samba access to $TARGET_PATH. If you want to share this directory with samba it has to have a file context label of samba_share_t. If you did not intend to use $TARGET_PATH as a samba repository, this message could indicate either a bug or an intrusion attempt. Please refer to 'man samba_selinux' for more information on setting up Samba and SELinux. a You can alter the file context by executing chcon -R -t samba_share_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 samba_share_t '$FIX_TARGET_PATH'" z(chcon -R -t samba_share_t '$TARGET_PATH'z2You need to change the label on '$FIX_TARGET_PATH'c �<