Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-28-2006, 09:46 PM   #1
Registered: Mar 2006
Location: Canada
Distribution: Suse 10.0 Retail, 10.1, 10.2, 11.1, Edubuntu 7.04, Mandriva 2010
Posts: 89

Rep: Reputation: 15
How To Limit Samba Shares In /Home


I have Suse 10 installed in a home network. I can see linux and can browse most /home folders from the WinXP home machine. My question is how to limit access to some of my home folders? By default Documents, and desktop are not accessible. Public_html, bin, and any other folder I put in here are accessible though. Despite the fact that all folders in /home are not shared according to the properties of each folder. I have unchecked the box that says "share all home folders" in Samba server setup in the shares tab. No matter how many times I un-check the box, every time I go back to it it is checked again. I assume it is inheriting this from a higher authority. Would someone be able to help me with how to limit what is shareable? Any help here would be appreciated.

Old 03-29-2006, 06:50 AM   #2
Registered: May 2005
Distribution: Slackware 12.1
Posts: 52

Rep: Reputation: 16
Open a terminal, and type;

cat /etc/samba/smb.conf
This is the config file which specifies how youre share works, and which is read by the samba daemon. It starts with a [global] section, and the sections after that are [sharename]. Removing the relevant part would remove the share.

For example, I have a slackware share:

        comment = slackware tree and isos
        path = /data/programs/slackware
        read only = yes
        guest only = yes
To remove the share, I would remove this whole section.


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
win xp home edition and samba home shares scheidel21 Linux - Software 8 10-09-2008 12:47 AM
Samba does not allow writing to public shares / browsing home directories disallowed Xolo Linux - Software 6 02-14-2005 04:22 PM
Apache subdomains like Samba home-shares toffi22 Linux - Software 1 01-30-2005 07:16 PM
samba home directory shares walewis Linux - Software 8 09-28-2003 06:03 PM
XP home fails to connect to samba shares J_Szucs Linux - Software 1 05-16-2003 10:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 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
Open Source Consulting | Domain Registration