LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-17-2004, 07:23 PM   #1
mpriddy
Member
 
Registered: Feb 2004
Posts: 35

Rep: Reputation: 15
Cannot create, modify, or write to Samba shares


I am able to read and transfer files from the shares, but if I try to write or create anything, it says access denied. I am using WinXP. Here is what my smb.conf file looks like:

server string = Mandrake Box
hosts allow = 192.168. 127.
log file = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[yolanda]
comment = Yolanda
path = /yolanda
browseable = yes
writable = yes
public = yes
read only = no

[micah]
create mode = 777
writeable = yes
allow hosts = 192.168.
public = yes
write list = micah
directory mode = 777
comment = Micah
path = /micah
 
Old 02-17-2004, 11:24 PM   #2
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
Check the permissions on the directories first - the directories from linux, not from windows. Make sure you actually have create rights...

ls -l will show you rights
chown or chmod will allow you to change them
 
Old 02-17-2004, 11:48 PM   #3
mpriddy
Member
 
Registered: Feb 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Re

total 80
-rw-r--r-- 1 root root

This is what I see when I type ls -l

Thanks
 
Old 02-18-2004, 01:18 AM   #4
king_nothingzzz
Member
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Red Hat Enterprise Linux 4
Posts: 120

Rep: Reputation: 15
Are you trying to write to the shares as a normal user or as root??
 
Old 02-18-2004, 10:40 AM   #5
mpriddy
Member
 
Registered: Feb 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Re

I am able to write to the shares from within Linux, but when I try to write to them from my XP system over the network, thats where the problem is.
 
  


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
Unable to write to Samba Shares. usaf_sp Linux - Software 1 11-02-2005 01:45 PM
Windows ME cannot write to SAMBA shares apostate Linux - Software 2 07-30-2005 10:56 PM
How do I create shares with Windoze from Samba? dhatcher2 Linux - Software 2 10-28-2004 02:15 AM
can't create/modify files in a samba share deadslota Linux - Newbie 4 08-07-2004 10:26 PM
Can only write to samba shares as root. Neuronet Linux - Software 17 06-27-2003 06:44 AM

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

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