LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-19-2005, 09:49 AM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 565

Rep: Reputation: 30
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
pbounds
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

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

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


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
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


All times are GMT -5. The time now is 02:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration