Visit Jeremy's Blog.
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 10-19-2005, 09:49 AM   #1
Registered: Apr 2004
Posts: 671

Rep: Reputation: 45
Public directory for Samba?

This is for a small home network. I am running debian 3.1 testing.

By default, Samba takes users to their /home/username directory. I would like to make a public directory available also. By that I mean a directory where anybody can read or write files.

Probably some minor changes in /etc/samba/smb.conf, but I don't know what.
Old 10-19-2005, 11:23 AM   #2
LQ Newbie
Registered: May 2004
Location: Houston, TX
Distribution: 7.x,8.x,9.x, 2.1, fed, suse, deb3.0, sun, unixware, sco
Posts: 3

Rep: Reputation: 0
Add this section to your smb.conf file. 'xfiles' is the netbios share name and /xfiles is the directory or mounted filesystem you are sharing

comment = xfiles
path = /xfiles
public = yes
writable = yes
create mode = 0777
directory mode = 0777
printable = no
Old 10-19-2005, 01:59 PM   #3
Registered: Apr 2004
Posts: 671

Original Poster
Rep: Reputation: 45
It works, thanks.


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
Samba public share FNC Linux - Software 9 11-14-2005 07:54 PM
ssh public key authentication to different remote home directory shawn_t Linux - Networking 2 03-20-2005 03:39 PM
public share in samba brasuca Linux - Software 2 05-10-2004 09:07 AM
Samba Public Folder DerrickCheang Linux - Newbie 3 10-29-2002 06:04 AM
Public Samba share mdpowell Linux - Software 1 03-13-2002 10:41 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:36 AM.

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