编辑su vim /etc/samba/smb.conf
[share]
comment = share
path = /home/junhao_song/share
available = yes
browseable = yes
public = yes
writeable = yes
guest account = junhao_song
create mask = 0777
force user = junhao_song
force group = junhao_song
force create mode = 0777
force directory mode = 0777
添加红色区域
[sda3]
comment = sda3
path = /home/junhao_song/sda3
available = yes
browseable = yes
public = yes
writeable = yes
guest account = junhao_song
create mask = 0777
force user = junhao_song
force group = junhao_song
force create mode = 0777
force directory mode = 0777
重启后重新映射成磁盘就好