其他配置过程不重复写了,用户名添加好后,添加如下配置到/etc/samba/smb.conf可解决没有写权限的问题
[usr_name]
path=/home/usr_name
available=yes
valid users=usr_name
writeable=yes
guest ok=yes
browseable=yes
create mask = 0664
directory mask = 0755
force user = root
执行命令重启:sudo /etc/init.d/smbd restart
标签:samba,name,配置,mask,usr,yes,权限 From: https://www.cnblogs.com/UFO-blogs/p/17594489.html