添加samba 用户
<pre> smbpasswd -a xx xx </pre>
添加samba的目录
<pre> smb.conf [code] comment = snippet's code path = /home/richard/code valid users = richard browseable = yes read only = no writeable = yes guest ok = no create mask = 0777 </pre>
<pre> smbpasswd -a xx xx </pre>
<pre> smb.conf [code] comment = snippet's code path = /home/richard/code valid users = richard browseable = yes read only = no writeable = yes guest ok = no create mask = 0777 </pre>
转载于:https://my.oschina.net/richard28530/blog/1549363