Guide: How to Share A Folder Between Ubuntu/Linux and Windows
转载:
Steps to Share a Folder in Ubuntu
Step 1: Open file manager and right-click on the folder which you want to share. Click on the option “Local Network Share” in the context menu.
Local Network Share Option
Step 2: Click on the Share this folder checkbox in the Folder Sharing dialog.
This would install Samba packages in your system. Samba is used to share files and printers over the network between Windows and Unix systems.
Folder Sharing Option – Install Samba
Step 3: After samba installation, do the following to share a folder or directory.
sudo smbpasswd -a Username
username should be a valid user of the respective Ubuntu system.
You should be all set now to access the folder/directory.
关键的就是上面这一步,设置一个username进来。要是这个名字不起作用了,就得再执行一遍。