1.设置映射网络文件时。报错
Ask the administrator to add the line ‘usershare owner only = false’ to the [global] section of the smb.conf to allow this.”
这时候我们可以看“权限”一项,发现“所有者”变成了“root”。 解决方法:
sudo vim /etc/samba/smb.conf (编辑smb.config文件)
找到“usershare allow guests = yes”这样行,按"a"键进行编辑,把“usershare owner only = false”加到后面,然后按“Esc”键退出编辑模式,输入“:wq”保存退 出。
2.