LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-11-2013, 10:36 PM   #1
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Rep: Reputation: 16
Samba shares not writeable


I'm trying to set up a samba network share, and I can't make any of them writeable. The username that I'm using to log into the share is the same user as the folder on the disk. I have included my smb.conf below. I hope it's just something simple I missed, but I have no idea, so any help would be greatly appreciated.

Quote:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
username map = /etc/samba/smbusers
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user

[Media]
writeable = yes
path = /media/RAID/Media/
comment = Media Library

[RAID]
writeable = yes
path = /media/RAID/

[homes]
writeable = yes
 
Old 09-12-2013, 07:26 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
http://www.cyberciti.biz/faq/unix-sa...hare-writable/
 
Old 09-12-2013, 11:28 AM   #3
rog_ski
LQ Newbie
 
Registered: Sep 2010
Posts: 13

Rep: Reputation: 0
vockleya

I’ve had some similar issues making samba writeable from various windows clients. We are running a variety on our network XP, Win7, win2k3 server however we were not concerned with security as it we are on a closed network so we made the share wide open. You could work with making it open and write to it (you may already be there) then lock it down afterwards.

I suspect that not all the contents of the file below are required however this is what works for us and we moved on to the next issue:

Quote:
[ global]
workgroup = WORKGROUP
netbios name = server
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\L\profiles\.msprofile
logon home = \\L\U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s/bin/false %m$
domain logons = No
domain master = No
client signing = yes
server signing = yes

[file-share-1]
comment = software
inherit ads = Yes
path = /Shared-1
local writable = yes
guest ok = yes
With the file above we are able to access the share from the following:
  • Standalone Xp workstations
  • XP workstations on our win2K3 forest
  • XP workstations on our win2K7 forest
    Win2k3 Servers on our 2K3 forest

If we want to access the share from standalone windows 7 workstations we needed to either add the line under global settings “security = share” which broke the workstations above or change the local security policy under the local security policy
  • "Microsoft Network Client - Digitally sign communications if server agrees set to - disabled"
 
Old 09-12-2013, 04:30 PM   #4
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
I see what I did. I was missing the "read only = no" directive. It seems a bit odd that Webmin doesn't even have an option to change that. Thanks!
 
  


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
[SOLVED] ufw status world writeable group writeable masuch Linux - Security 2 02-28-2012 10:31 AM
samba shares permissions as flexible as 2003server shares? fdelval Linux - Newbie 5 11-23-2010 08:29 AM
samba writeable folder jani1982 Linux - Server 1 04-04-2008 05:05 PM
Samba - cannot make writeable shares tpn Linux - Server 15 07-27-2007 10:09 AM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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