解决思路来自于:https://devicetests.com/share-files-ubuntu-mac-osx
利用了samba协议,原文:
Samba is an open-source software suite that uses the SMB/CIFS protocol to provide seamless file and print services to SMB/CIFS clients. It is a popular choice for sharing files between Linux and Windows systems, but it works equally well for sharing files with Mac OSX.
首先,再ubuntu上进行设置
sudo apt-get install samba#安装samba
mkdir /home/username/foldername#创建共享文件夹
sudo gedit /etc/samba/smb.conf#修改配置文件
在