LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2011, 02:08 AM   #1
davishades
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
Wink files sharing in linux


hey guys..i have installed fedora 13 succesifully and shared files too that are visible from my windows PCs .my problem is my home directory too is visible from the windows side.they are read only but the m being visible bothers me.how do i have only the shared folder to be visible alone?(ie if i run the linux PC from windows i see only the folder that i have shared)

regards
 
Old 01-27-2011, 02:12 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Greetingz!

Samba is what runs on a Linux box, and makes shares available to Windows systems, so you'll need to look for (and edit) your smb.conf.

1) First, we find it.
find / -name "smb.conf" -type f 2>/dev/null

2) Then we take a gander at it
grep -v "^#" /path/to/smb.conf | grep .

3) If you see a "[homes]" share (or something with "path = /home"), you remove it.
(Use vim, nano, emacs, or another text editor to comment-out every line of that share).

4) Then you restart the Samba service.
service smb restart

NOTE: Always make a quick copy of a file before you start editing it!
(cp -p /path/to/smb.conf /path/to/smb.conf.backup)

Last edited by xeleema; 01-27-2011 at 02:14 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing files on linux me_logan Linux - Software 1 10-20-2008 01:48 PM
Sharing files between Linux and OS X IBall Other *NIX 11 12-26-2007 07:20 PM
Sharing files in linux TigerLinux Linux - Software 2 11-25-2005 12:07 AM
Sharing Files between linux and windows invinciblegod Linux - General 4 07-27-2005 11:54 AM
Sharing Excel files in Linux cmdyer Linux - Newbie 4 06-30-2005 02:02 AM


All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration