Share files and folders with other computers

You can share files and folders with other people on your network.

  1. Press SystemAdministrationShared Folders

  2. You may receive a message which says Sharing services are not installed. If this is the case, ensure that the two checkboxes in the message box are checked and press Install services. Sharing service support will then be downloaded and installed; this may take a while.

  3. Select the Shared Folders tab and press Add

  4. Select the location of the folder you wish to share by changing the Path option

  5. Choose Windows networks (SMB) from the Share through option

  6. Enter a name and comment for the shared folder

  7. If you would like people accessing the shared folder to be able to add, change and remove files in the folder, uncheck Read only. If you leave Read only checked, people will only be able to view files in the folder

  8. Press OK to make the shared folder available. Other people on the same network (LAN) as you should now be able to access the folder

See the Shared Folders Administration Tool manual for more information on managing network shares.

Accessing shared folders on Windows

If you would like to access a shared folder hosted on an Ubuntu computer by using computers running Windows, you may have to perform some additional steps:

  1. Press ApplicationsAccessoriesTerminal to open a Terminal

  2. Type sudo smbpasswd -a username, replacing “username” with your own username. Press Return to run the command.

    [Note]

    You can find out what your username is by typing whoami into the Terminal and then pressing Return

  3. Enter your password when prompted with “[sudo] password for username:” and press Return again.

  4. When prompted with “New SMB password:”, enter the password that you would like to use to access the shared folder and then press Return. You can leave the password blank if you like, which will allow anyone to access the shared folder.

  5. When prompted with “Retype new SMB password:”, enter the password that you just entered and then press Return

  6. You should now be able to connect to the shared folders on the Ubuntu computer

Problems connecting to shared folders in Windows

If you are unable to connect to a shared folder using Windows, try using the IP address of the Ubuntu computer rather than its host name to access the share:

  1. Press SystemAdministrationNetwork Tools and select the Devices tab

  2. Select the name of your network connection from the Network device option list (for example, “eth0”). If you have several network connections, you may have to try this several times.

  3. Make a note of the number in the IP address column. It should consist of four numbers separated by dots (for example, “192.168.2.10”)

  4. On the Windows computer, select StartRun and type \\ipaddress in the text box, replacing “ipaddress” with the IP address of the Ubuntu computer

  5. Press OK to connect to the shared folder

If you are still unable to access the shared folder, check that the folder sharing service is running on the Ubuntu computer:

  1. Press SystemAdministrationServices

  2. Find the Folder sharing service (samba) and ensure that the checkbox next to it is checked

  3. Press Close

More information can be found on the Ubuntu community help pages.