[share]
path = /xxx/share
available = yes
browseable = no
public = yes
writable = yes
force create mode = 0664
directory mask = 0775
force directory mode = 0775
create mask = 0777
directory mask = 0777
# 实现匿名访问,不需要交互输入用户名和密码
map to guest = bad user
https://blog.csdn.net/liuaigui/article/details/5077935