How to Share Files Using Samba via Terminal
Joe Engressia, Saturday, May 23, 2009Share File in Linux OS Using Read Only or Full Permission
You can do anything when your pc connected on network, so that you can get the ease of every activity. Many advantages using the network, The most often done by people is sharing the files. In linux OS, you can do it using samba, an application that has function to share your file on network. In this article, i will share trick how to share file using samba via terminal. Why must We use via terminal, but The linux OS has GUI display? hmm, I also do not know the right answer, but i am only happy doing the activity that is seldom done by the user general. hahaha, a strange answer.
To share your files using samba via terminal, you only add some command line at
You can do 2 share mode using samba:
Download Samba here
smb.conf
file in directory /etc/samba/
.You can do 2 share mode using samba:
- Sharing file using read only mode. Using read only mode, The client only read or copy your file that shared.
Example : We will share Desktop folder in directory /root/Desktop
Go to linux terminal :
$ sudo pico /etc/samba/smb.conf
Insert bellow words in bottom page of smb.conf
comment = Share directory /root/Desktop
read only = yes
locking = no
path = /root/Desktop
guest ok = yes - Sharing file using Full permission mode. Using full permission, the client can do anything of your file.
Example :We will share folder Desktop in dirctory /root/Desktop
go to linux terminal :
$ sudo pico /etc/samba/smb.conf
Insert bellow words in bottom page of smb.conf
comment = Share directory /root/Desktop
read and write = yes
locking = no
path = /root/Desktop
guest ok = yes
Download Samba here
Subscribe to:
Post Comments (Atom)
nice info ..this is my first time i visit your site..hope i can learn much on your site
regards
Works! Really nice. The Samba applet thing on my openSUSE 10.3 is broken. So I really appreciate this!
Thank you.
I could not resist commenting. Very well written!
Also visit my homepage: Designskala.Com
It's remarkable designed for me to have a web site, which is helpful in support of my experience. thanks admin
my homepage Anxiety Attack
Thanks for finally talking about > "How to Share Files Using Samba via Terminal" < Liked it!
my web blog: acoustic guitar chord