Talal jaafar
2007-May-25 21:30 UTC
[Samba] Can't write to a Samba shared directory from windows XP
Hi,
I have setup a linux shared directory using Samba. From windows XP, I can
see the shared directory, browse it, read files from it; however, I can't
write to it. I have changed the ownership of the shared directory in linux
to "nobody", changed the group to "nobody", and chmod it
777.
I have looked at threads for similar problems, but I can't get my problem
solved. The error that I am getting is: "Access denied. Make sure the disk
is not full, or write-protected". This is my smb.conf contents:
-----------------------------------------------------------------------------------------------------------------------------
# Samba config file
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/05/23 23:07:05
[global]
netbios name = RAAD3
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
security = user
wins support = Yes
ldap ssl = no
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[www]
comment = webserver
path = /var/www/html
valid users = chris
read only = No
----------------------------------------------------------------------------------------------------
I've spent alot of time on this, and I have tried all sort of things with no
luck. Please advise if you have any idea on why I can't copy/write from
windows to the liunx shared directory.
"chris" is the user on the windows machine as well as on linux. For
some
reason, I never get prompted for the samba username and passwd to
authenticate the access.
Thanks,
Talal
notinh notien
2007-May-25 23:09 UTC
[Samba] Can't write to a Samba shared directory from windows XP
Hi. I think you have to be careful when you set the ownership to nobody:nobody for shared directory, usually this nobody user does not have a real shell and home, secondly your user chris might not be in this group at all so when he tried to access he was denied writing. Please changed the permission to a more sensible user and group like chris:chris or if chris:othergroup where chris is a member of othergroup. Hope this helps. _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
Jamrock
2007-May-27 12:49 UTC
[Samba] Re: Can't write to a Samba shared directory from windows XP
"Talal jaafar" <talal.jaafar@gmail.com> wrote in message news:cd9967e20705251429i337d45b7k7bf020f5c9f75d5f@mail.gmail.com...> Hi, > > I have setup a linux shared directory using Samba. From windows XP, Ican> see the shared directory, browse it, read files from it; however, I can't > write to it. I have changed the ownership of the shared directory in linux > to "nobody", changed the group to "nobody", and chmod it 777. >Try setting ownership to the windows group Domain Users. Let's call your share payroll. chown root:"Domain Users" payroll All Windows users are automatically placed in the Domain Users group.