LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-25-2005, 07:31 PM   #1
erikcw
LQ Newbie
 
Registered: Sep 2001
Location: CA, USA
Distribution: Mandrake 10.1
Posts: 14

Rep: Reputation: 0
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
 
Old 01-25-2005, 10:08 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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
 
Old 01-26-2005, 12:18 AM   #3
erikcw
LQ Newbie
 
Registered: Sep 2001
Location: CA, USA
Distribution: Mandrake 10.1
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 01-26-2005, 03:59 AM   #4
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
Here is one of mine for reference

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't write to Samba Share perihelion Linux - Software 21 03-12-2012 10:39 AM
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Unable to write to Samba Share sephiro499 Linux - Newbie 8 11-30-2004 12:05 PM
samba share with write but not delete Red Squirrel Linux - Software 7 08-29-2004 06:12 PM
Samba: Cannot write greater than 2 GB to share SparceMatrix Linux - Software 13 01-17-2004 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration