LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2005, 09:08 PM   #1
Ffishphone
LQ Newbie
 
Registered: Oct 2005
Location: Oregon
Distribution: Xebian
Posts: 7

Rep: Reputation: 0
Can't write to shares


At the moment I'm unable to write to any of my Samba shares from my windows box, despite the fact all of them have 0777 permissions and are set to writeable in smb.conf. I'm guessing this has something to do with group permissions, but I'm not sure. Here's a copy of my smb.conf file:

workgroup = workgroup
netbios name = Xbox
encrypt passwords = yes
unix password sync = yes
null passwords = yes
smb passwd file = /etc/samba/smbpasswd

[homes]
read only = yes
browseable = no
public = no

[music]
path = /data/music
browseable = yes
public = yes
read only = no
writeable = yes
valid users = iggy administrator root
create mask = 0777
force create mode = 0777
directory mode = 0777
force directory mode = 0777

Any suggestions? Thanks in advance.
 
Old 10-19-2005, 11:13 AM   #2
Ffishphone
LQ Newbie
 
Registered: Oct 2005
Location: Oregon
Distribution: Xebian
Posts: 7

Original Poster
Rep: Reputation: 0
bump
 
Old 10-19-2005, 12:18 PM   #3
zak317
Member
 
Registered: Oct 2005
Location: 500$/monthly
Distribution: Mandriva 2006
Posts: 56

Rep: Reputation: 15
Some questions to help us:

Have you added the users to Samba with the command smbpasswd -a username ?

Can you see the shares from the Win box?

What are the users and groups of the shared folders (ls -a /data/music)

Also, if you use unix password sync = true, you will have to specify which program to use to change users password and parameteres to pass to the program... So dont use this parameter unless you really know what you are doing...

Hope this will help..
 
Old 10-19-2005, 03:42 PM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
1. Did u added root login to samba ?

smbpasswd -a -e root
-a is for adding.
-e is for enabling them.

Restart samba service.

2. What is login you are doing at XP box ?
Any one out of them >> iggy administrator root ?? or something else ?


Feedback.

Last edited by amitsharma_26; 10-19-2005 at 03:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to write to Samba Shares. usaf_sp Linux - Software 1 11-02-2005 02:45 PM
Windows ME cannot write to SAMBA shares apostate Linux - Software 2 07-30-2005 11:56 PM
Can not write to Samba Linux Shares from Windows boyd98 Linux - Software 2 05-12-2005 06:51 PM
write list for shares doesn't work AndreasBeyeler Linux - Networking 0 06-16-2004 06:11 AM
Can only write to samba shares as root. Neuronet Linux - Software 17 06-27-2003 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:10 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