How to add a new shared folder to Samba file server

On my previous tutoria, I have posted about how to turn Ubuntu 13.10 into a powerful file server. On that post, I just show you how to install Samba and enable the home directory for every Ubuntu users so they can access their own files over the network. Now I want to show you how to add a new shared folder on Samba file server so any users can store files on that shared folder and work together.

At first, we need to create the directory to be shared

sudo mkdir /share
sudo chmod 777 /share

Now edit the file /etc/samba/smb.conf

sudo nano /etc/samba/smb.conf

Add the following sections to the bottom of the file

comment = ubuntu share
path = /share
read only = No

Now restart Samba

sudo service smbd restart

You are done. Now you will see a new shared folder on your network which can be accessed by any Samba users.



Leave a Reply

Your email address will not be published. Required fields are marked *