标签:linux service samba public enforce
第一步:在根下执行:mkdir /public
修改下权限:chmod 777 /public
第二步:备份 smb.conf: mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
编辑配置文件:vim /etc/samba/smb.conf
[global]
security = share
[public]
comment = public
path = /public
public = yes
read only = no
第三步:
重启smb服务:service smb restart
注意关闭selinux:enforce 0
关闭防火墙:service iptables stop
本文出自 “魏彬斌的博客” 博客,请务必保留此出处http://weiduizhang.blog.51cto.com/722251/1557378
标签:linux service samba public enforce
原文地址:http://weiduizhang.blog.51cto.com/722251/1557378