LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-19-2005, 03:26 PM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Samba problems: can't write to shared folder


I've done a search, but I can't find anything that helps. Here's the situation: I have a shared folder, called "Shared" that I want other machines on our home network to be able to write to. They can see the folder and read the files, but not write to it. They're Windows machines and just get "Access is denied" errors. My smb.conf:

# Samba config file created using SWAT
# from 10.0.0.2 (10.0.0.2)
# Date: 2005/07/19 21:13:56

# Global parameters
[global]
workgroup = HOME
server string = Samba Server
security = SHARE
log file = /var/log/samba.%m
max log size = 50
dns proxy = No
path = /home/nick/Shared

[Shared]
comment = Nick's shared folder
write list = nobody
read only = No
guest ok = Yes

I tried adding the line "writeable = Yes" to the [Shared] section manually too and then restared smbd, but that did nothing.

So, what do I need to do to be able to let other users write to that folder?

I also have a problem with xfsamba (I might as well put in this thread seeing as it's somewhat related). There are 2 (and sometimes 3) other machines on the network and all are in the same workgroup. When I use xfsamba, it only lists one of them. Is there any way I can get it to show the other one(s), so I can access their shares easily? I can run "smbclient -N -L <other IPs>" and that works ok, so I think it's just a problem with xfsamba itself.

Any help appreciated, thanks.

Last edited by Nylex; 07-19-2005 at 03:35 PM.
 
Old 07-19-2005, 03:36 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You need to give the users (the unix users) write access to the directory as well (if you want to be really insecure about it, just chmod it 777).
 
Old 07-19-2005, 04:01 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Thank you . What's more secure than doing "chmod 777"? Just giving access to other users in it's group access?

Thanks again.
 
Old 07-19-2005, 04:10 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
More secure, as you seem to be on the right track, would be to add all users who will write to the share to a common group (I use smbusers for my printers) then chown <root_or_other_user>:smbusers /directory and chmod 775 /directory
 
Old 07-19-2005, 04:40 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Ok, I'll have a go with that .
 
  


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
Samba password protected shared Folder Mrpeepers310 Linux - Networking 5 09-18-2010 10:04 AM
Samba Public shared Folder will not hold permissions xzerros Linux - Networking 12 09-26-2005 09:25 AM
SAMBA shared folder is not refreshed immediately nodil Ubuntu 0 06-08-2005 12:43 AM
Samba 3: Can't write to shared directories from Windows robintw Linux - Networking 10 07-31-2004 09:13 PM
Apply permission on samba shared folder on M$ Windows 2000 vwhk Linux - General 4 07-20-2003 09:53 PM

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

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