Can't write to samba share
Posted
by
Tiddo
on Super User
See other posts from Super User
or by Tiddo
Published on 2013-09-20T19:15:16Z
Indexed on
2014/06/07
21:28 UTC
Read the original article
Hit count: 310
samba
I try to setup a samba file server, but whatever I do I can't get write access to work (reading works fine). This is my current situation:
I have a local fileserver with 3 harddisks mounted at /mnt/share/disk<nr>
. 2 of these use the ext4 filesystem, the third one is ntfs. This file server runs Fedora 18 32-bit. The root folders of these harddisks are owned by superman:superman
, and testparm
outputs the following:
[global]
workgroup = WORKGROUP
netbios name = FILE_SERVER
server string = Samba Server Version %v
interfaces = lo, eth0, 192.168.123.191/8
log file = /var/log/samba/log.%m
max log size = 50
unix extensions = No
load printers = No
idmap config * : backend = tdb
hosts allow = 192.168.123.
cups options = raw
wide links = Yes
[share]
comment = Home Directories
path = /home/share/
write list = superman, @users
force user = superman
read only = No
create mask = 0777
directory mask = 0777
inherit permissions = Yes
guest ok = Yes
I've tried a lot to get this to work: the disk are chmodded to 777, I've tried turning off selinux, I've added the samba_share_t
label to the disks and as can be seen in the above output I tried to make the smb config as permissive as I could, but still I cannot write to the share (tried from Windows 7 and another Fedora installation).
What can I try to be able to write to the shares?
EDIT: The replies I got so far are mostly concerned with the smb.conf
. I have however tried a lot of different setup, ready made configs, and solutions to similar problems for the smb.conf
file, so I suspect that the real problem is somewhere else.
© Super User or respective owner