Configure Public share on Samba
JoeHill
joehill-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Sun May 1 18:27:45 UTC 2005
On Sun, 01 May 2005 13:41:38 -0400
Kevin C. Krinke disseminated the following:
> > I've been able to configure it, using SWAT, so that I can access my users
> > home
> > dir on the server from my desktop, but there does not appear to be any
> > option
> > for creating a 'public' share. I checked the 'Official Samba HowTo' for
> > clues,
> > but found no specific mention of how to create a publicly shared folder.
> >
> > Any hints appreciated!
>
> Here's what I've used in the past. Edit /etc/samba/smb.conf and add this
> block to the end of the file, then restart samba after saving the file.
>
> #############################################
> [public]
> comment = Publicly shared files
> browseable = yes
> writable = yes
> create mask = 0644
> directory mask = 755
> public = yes
> guest ok = yes
> path = /path/to/your/public/directory
> #############################################
Okay, first off, I'm an id10t. I didn't create the appropriate path, ie.
/home/samba/public.
I'm at the point now where if I open the shared dir on the Win box, I can see
inside, but I cannot write to it. I believe I have a perms problem. Currently I
have:
joehill at node3:/home$ ls -l
total 56
drwxr-xr-x 27 joehill joehill 4096 2005-05-01 12:03 joehill
drwxr-xr-x 2 root root 49152 2004-09-20 04:37 lost+found
drwxr-sr-x 3 root staff 4096 2005-05-01 13:51 samba
I would imagine I have to chown, but to what?
--
JoeHill / RLU #282046 / www.freeyourmachine.org
14:20:33 up 69 days, 15:29, 8 users, load average: 0.00, 0.02, 0.02
+++++++++++++++++++++++++++
"We have become a Nazi monster in the eyes of the whole world - bullies and
bastards who would rather kill than live peacefully. We are whores for power and
oil with hate and fear in our hearts." -- Hunter S. Thompson
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list