Another one of those Samba questions...Got it to work..Thanks nothinman!

jdini76

Platinum Member
Mar 16, 2001
2,468
0
0
First off i did a search on samba and nothing answered my question.

I currently running redhat 7.2 and seem to have samba configured correctly. I am able to browse the shares I have on linux box using my win2k machine through network places, but I am unable to write to the shares. I am using SWAT to configure the smb.conf file and I made sure that the option "read only" was set to no. therefore I should be able to write to the share. when ever I try to paste a file to the share I get an error stating "can not copy index: Access is denied. The source file may be in use." index being the name of the file I am trying to paste. any suggestions.

I really don't get it I am able to configure samba on a solaris system no problem. Linux is supposed to be easier!


(Edit) added my smb.conf

# Samba config file created using SWAT
# from joe-shmoe.com (127.0.0.1)
# Date: 2002/02/24 22:32:14

# Global parameters
[global]
workgroup = DINICOLA
netbios name = OPTIMUS
server string = Samba Server
security = SHARE
log file = /var/log/samba/%m.log
max log size = 0
dns proxy = No
guest account = ftp
printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
hosts allow = 192.168.
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[/]
comment = root
path = /
read only = No
guest ok = Yes

HTML:
        comment = web docs
        path = /var/www/html
        read only = No
        guest ok = Yes
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Did you check the rights on the files to make sure you/your group have write access to them? Making the share read-only is only one part of it.
 

jdini76

Platinum Member
Mar 16, 2001
2,468
0
0
DOH!

Thanks man..totaly forgot about giving right access to the directory itself.

did a chmod 777 for the dir and it works now!

Can't believe I forgot that part.

thanks again