修改/etc/samba/smb.conf
security = share <==
配置无需密码访问
[Share] <== 在windows上访问时候显示的文件夹名字
comment = 'Share for
work'
path = /root/Share
<== Ubuntu中要共享的目录,记的 chmod 755
修改目录属性
public = yes
writeable = yes
guest ok = yes
create mask = 0664
directory mask =
0664
force user = root
force group = root
browseable = yes
available = yes
阅读(6176) | 评论(0) | 转发(0) |