# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = share
在配置文件最后面加
[Raspi]
path = /home/pi/dragon/WS_HOST
public = yes
writable = yes
重新启动samba
$ sudo /etc/init.d/samba restart
3、可以正确访问
4、用户访问
修改配置文件两处
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = user
和
[Raspi]
path = /home/pi/dragon/WS_HOST
public = yes
writable = yes