在linux的Samba服务中,不能创建文件夹和文本文件_解决办法

关闭SElinux可以解决:
关闭 SElinux方法:
使用文本编辑工具打开 /etc/selinux/config:   vi /etc/selinux/config 找到这段:
找到这段:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing

把 SELINUX=enforcing 注释掉:#SELINUX=enforcing ,然后新加一行为:SELINUX=disabled
保存,关闭。
重启系统。
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
#SELINUX=enforcing
SELINUX=disabled

本文出自 “�L��あ�R度ツ” 博客,转载请与作者联系!

你可能感兴趣的:(linux,职场,samba,休闲,Samba服务)