If you want to share files between your Ubuntu and Windows computers, your best option is to use Samba file sharing.
To install, first open a terminal window and enter the following command:
We’ve got samba installed, but now we’ll need to configure it to make it accessible. Run the following command to open the configuration file, substituting your editor of choice:
Find this section in the file:
Uncomment the security line, and add another line to make it look like this:
This will set Samba to use the smbusers file for looking up the user list.
Next, we’ll add that username to the smbusers file.
Add in the following line, substituting the username with the one you want to give access to. The format is <ubuntuusername> = “<samba>”. You can use a different samba user name to map to an ubuntu account, but that’s not really necessary right now.
Now you can create samba shares and give access to the users that you listed here.