Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-27-2011, 03:08 AM   #1
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 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)

Old 01-27-2011, 03:12 AM   #2
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

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 03:14 AM.
1 members found this post helpful.


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 02:48 PM
Sharing files between Linux and OS X IBall Other *NIX 11 12-26-2007 08:20 PM
Sharing files in linux TigerLinux Linux - Software 2 11-25-2005 01:07 AM
Sharing Files between linux and windows invinciblegod Linux - General 4 07-27-2005 12:54 PM
Sharing Excel files in Linux cmdyer Linux - Newbie 4 06-30-2005 03:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 PM.

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