This brief tutorial will outline how to enable file sharing in Ubuntu.
- Sharing files and folders across your network from your Ubuntu PC is every bit as easy as sharing files in Windows (arguably, it’s easier). Start by right-clicking the folder you want to share, and select Share Folder. If the services required to share files/folders aren’t installed, you’ll be prompted to install them.
- After clicking Install services they will automatically start to download and install.
- Once that has completed you’ll be presented with an options window. From here you can select the type of sharing (SMB or NFS), give the shared folder a name and decide if you want read-only access to the folder. Click OK when you’re done.
- If you right-click on your newly shared folder and select Properties and then the Emblems tab, you can give the folder a unique icon so you’ll know it’s shared.
- You can further modify the permissions of your shared folder by selecting the Permissions tab.
- Now open a terminal in Ubuntu and enter the command:
sudo smbpasswd -a username
This will add a SMB user.
- And now other computers can connect to your shared folder!