Samba日积月累-----采用share模式
2008.11.25 Samba配置中,采用share模式,但就是不能访问,后来能访问了,但是不能新建文件夹,但能新建word等,但是不能打开;证明是selinux起作用了,关闭selinux,/etc/sysconfig/selinux文件中
#SELINUX = enforcing
SELINUX = disabled
重启系统生效,如果不想重启系统,使用命令setenforce 0
一个简单的配置事例
[global]
workgroup = mygroupcs
server string = samba server cs
security = share
[test]
comment = test resource
path = /test
guest ok = yes
writable = yes
public = yes
[cs]
comment = test cs
path = /home/cs
guset ok = yes
writable = yes
public = yes
阅读(533) | 评论(0) | 转发(0) |