1 background
In order to access certain files under the Ubuntu system on Windows and mobile phones
2 Install related libraries under Ubuntu
2.1 Follow the relevant packages
sudo apt-get install -y samba
sudo apt-get install -y smbclient
sudo apt-get install -y cifs-utils #(新版本的ubuntu,>12.04即可)
# sudo apt-get install -y smbfs # (旧版本的ubuntu)
2.2 error 225
If I right-click on a shared folder, the following error appears
# 在配置文件中找到usershare allow guests = yes,
# 在后面一行添加 usershare owner only = false,
# 设置后退出或重启ubuntu账户之后
sudo gedit /etc/samba/smb.conf