LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't write to Samba share (https://www.linuxquestions.org/questions/linux-software-2/cant-write-to-samba-share-282255/)

erikcw 01-25-2005 07:31 PM

Can't write to Samba share
 
Hi all,

Well, after much goofing around, I finally got smb up and running and am able to see the shares from my XP box! I have a problem though, I can write to the share from the XP box. Here is the info for the share from smb.conf

[homes]
comment = Home Directories
path = /home/share/
browseable = yes
write list = erik
force user = erik
public = yes
writable = yes
guest ok = yes

As you can see, I've added a bunch of lines to this share hopping to get it to work. What am I missing?

Also, it may be a stupid question (newbie), but how do I access my WindowsXP shares from my linux box?

Thanks for your help!

Erik

trickykid 01-25-2005 10:08 PM

What are the actual permissions of the share on the unix side of things? Does your user or group ownership have access to write, is your user part of that group?

And to access your XP shares, use samba to mount the shares to your Linux box.

man smbmount

erikcw 01-26-2005 12:18 AM

Oops! /home/share was set owner/group=root - I changed it to the user and everything works now. Based on the config info I gave above. Is all of that info necessary to read write a share? Can I get rid of some of it?

Thanks
Erik

Lazarus 01-26-2005 03:59 AM

Here is one of mine for reference

[music]
comment = for mp3 music files
guest ok = yes
path = /music
read only = no
public = yes


All times are GMT -5. The time now is 02:37 AM.