Click to See Complete Forum and Search --> : Can't change files on Windows box
rustyml
01-25-2003, 11:45 AM
I have my linux and windows machines networked together. I can open and view files on both machines, but I can't edit or create files on my windows machine from my linux machine and vice versa. On the windows machine I have it so any user can change files and i gave all users full permissions on my home directory on my linux machine. Is there something else I should do??
mdwatts
01-25-2003, 12:43 PM
I don't know much about Samba as I only set it up once a year or so ago just to see how it works.
Have you set the correct write permissions in the Samba config?
From the Samba NHF...
[homes]
comment = Home Directories
browseable = no
writable = yes
[netlogon]
comment = Network Logon Service
path = /usr/samba/lib/netlogon
guest ok = yes
writable = no
share modes = no
[pub]
comment = Public Directory
path= /pub
public = yes
writable = yes
printable = no
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
bwkaz
01-25-2003, 01:32 PM
Yes, there is a difference between the file permissions on the local machine, and the permissions that the remote computer sees. For the former, go to the Permissions tab. For the latter, go to the Sharing tab and hit the Permissions button (this is for win 2k, not sure about other versions of Windows). What the computer on the other end sees will be the intersection of these permissions -- if one says R/W and the other says RO, the remote machine will not be able to write.
In Samba on the Linux machine, as mdwatts has posted, there is a "writeable" option that should be set to yes if you want the share to not be readonly. The same applies here -- the permissions that Windows sees will be the intersection of the filesystem permissions and the Samba "writeable" flag thingy.