Sharing File/Folder with Samba on Linux

First you should install the samba module with using command line;

#apt-get install samba

Then, create a folder,has everyone (read-write) authorisation, on desktop

#cd Desktop

#mkdir -p “folder_name”

#chmod 777 “folder_name”


Then, open samba config folder and add these commands;

#vi /etc/samba/smb.conf

   comment = Sharing folder
   path = /root/Desktop/test
   browseable = yes
   guest ok = yes
   read only = yes
   public = yes
   writable = yes


After making all changes on folder, we can start the samba service

#service samba start

Now , When the running “\\”IP_address_of_Linux”\test$ ” command any computer on the same network,It will be accessed the “test” folder on Linux machine.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s