HOME > Linux > Ubuntu: Share Folders On Network - How To Share Files

Ubuntu: Share folders on network - how to share files

Ubuntu is a Linux-based operating system. If you want to access a folder from multiple computers on the network or share photos or movies with family members, it is useful to be able to share folders on network. This method makes it easy to manage your files from anywhere.

How to prepare folder sharing on Ubuntu?

If several Ubuntu computers are connected to your network, it is convenient to facilitate access to desired content by sharing folders. This can be done with the additional service "Samba", which you can install from the official Ubuntu package. Proceed as follows:
  1. Right-click on the desktop and select "Open Terminal".
  2. Enter "sudo apt-get install samba" into the console to install the program.

How do you share folders under Ubuntu?

You now configure the freshly installed program for network sharing. This works as follows:
  1. Create a new configuration file with the command "sudo gedit/etc/samba/smb.conf".
  2. Place "[global]" in the next line of the configuration, then write the following per line respectively: "workgroup = smb", "security = share", "share modes = yes".
  3. Now add more commands - again per line: "[homes]", "comment = home directories", "browsable= no", "read only = no" and "create mode = 0750".
  4. Use the following commands to share the folder: "[public]", "path = (Specify the storage path of the desired folder here)", "writable = yes", "comment = smb share", "printable = no", "guest ok = yes".
  5. Save the configuration and restart Samba with "/etc/init.d/samba restart".
  6. You will now find the shared folder under "\\YOUR-IP-address\public".

By Benedetta Sarkisian

Beer With Me: How to use the hip app :: Avira: What is OrganiZen? We explain the desktop tool