In you smb.conf file did you put writable = yes under Public section. Are you setting up Public for guests or are you setting it up for Windows users only.
If you are setting up for guest users, in the Public section in smb.conf add:
guest ok = yes
guest only = yes
You may need 'large readwrite' in Global section if your clients are using Windows 2000.
My smb.conf look like:
Code:
#======================= Global Settings =====================================
[global]
workgroup = HOME
netbios name = ELIZA
server string = Mandrake LINUX 9 using SMB
large readwrite = yes
printcap name = lpstat
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
max log size = 50
; security = user
security = share
guest only = yes
guest ok = yes
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
client code page = 850
character set = ISO8859-1
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
[print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = @adm root
[pdf-generator]
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I &
[Video]
comment = Movie Clips
path = /mnt/D/Video
public = yes
guest ok = yes
only guest = yes
writable = no
printable = no
[Public]
comment = Everybody can write
path = /mnt/D/Public
public = yes
guest ok = yes
only guest = yes
writable = yes
printable = no
[My Documents]
comment = My Documents
path = "/mnt/D/My Documents"
public = yes
guest ok = yes
only guest = yes
writable = no
printable = no
[Bookmarks]
comment = Bookmarks to Internet Sites
path = /mnt/D/internet/favorites
public = yes
guest ok = yes
only guest = yes
writable = yes
printable = no
[Downloads]
comment = Downloads from Internet Sites
path = /mnt/D/Downloads
public = yes
guest ok = yes
only guest = yes
writable = no
printable = no
[Applications]
comment = Full Version Applications
path = /mnt/D/appz
public = yes
guest ok = yes
only guest = yes
writable = no
printable = no
[Linux]
comment = Linux Distributions & Programs
path = /mnt/D/Linux
public = yes
guest ok = yes
only guest = yes
writable = no
printable = no
[Hauppauge]
comment = Copy of Hauppauge WinTV Installation CD
path = /mnt/D/hauppauge
public = yes
guest ok = yes
only guest = yes
writable = no
printable = no
Mine is setup so guest (Windows 98 & Windows XP) can access my LINUX box. Every directory the guest sees is in read-only state but Public is read and write. I need to clean up some lines because there is some redundancy lines. The Printer sections are put in automatically, so I didn't mess with it.
Read samba's documentation on what you can put in the smb.conf file.