Win10通过samba访问ubuntu共享文件夹 - 简书
在 /etc/samba/smb.conf
文件夹下增加如下配置
[share]
comment = share folder
browseable = yes
path = /home/yichun/work
create mask = 0777
directory mask = 0777
valid users = yichun
force user = yichun
force group = yichun
public = yes
available = yes
writable = yes//只有这个才能有写权限,不必chmod改变所有用户组
用户名yichun
密码
sudo smbpasswd -a yichun