常用Linux与Windows共享建最简Samba( 六 )


directory mask = 0775
writeable = yes
valid users = linuxsir,@sir0104
#@sir0104是用户组;
browseable = yes
[sir01]
comment = sir01
path = /opt/linuxsir/sir01
create mask = 0664
directory mask = 0775
writeable = yes
valid users = sir01,@linuxsir
browseable = yes
[sir02]
comment = sir02
path = /opt/linuxsir/sir02
create mask = 0664
directory mask = 0775
writeable = yes
valid users = sir02,@linuxsir
browseable = yes
[sir03]
comment = sir03
path = /opt/linuxsir/sir03
create mask = 0664
directory mask = 0775
writeable = yes
valid users = sir03,@linuxsir
browseable = yes
[sir04]
comment = sir04
path = /opt/linuxsir/sir04
create mask = 0664
directory mask = 0775
writeable = yes
valid users = sir04,@linuxsir
browseable = yes
5.5 关于客户端访问;
5.5.1 Windows 访问;
【常用Linux与Windows共享建最简Samba】我们打开Windows的IE浏览器,用IP地址的访问方式就能访问了,格式为 192.168.1.3 类似的 。当然也可以把共享文件夹挂在本地使用 。比如我们把sir01文件夹挂在本地中,应该以sir01用户来挂载 。

推荐阅读