You are not logged in.
Hi everyone.
I'm having some trouble setting up my Samba Server. I seem to be unable to get write access to my shares that are on partition I created myself (/mypart). Everything works fine when I try to share a folder in the /home directory. Is there something I'm missing ?
Here is the part of my fstab file where I mount this partition :
# /dev/sda1
UUID=7c4649d0-67cb-4984-a71e-6060d8618654 /mypart ext4 defaults 0 2And here is my smb.conf file :
[global]
workgroup = WORKGROUP
server string = Samba
netbios name = servername
name resolve order = bcast host
dns proxy = no
log file = /var/log/samba/%m.log
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
[myshare]
path = /mypart/myshare
read only = no
[testshare]
path = /home/vince/testshare
read only = noWith this configuration, I'm able to write in "testshare" but not in "myshare".
It's like what I configure in the "myshare" section in not applied by Samba.
I hope this is clear enough for someone to help me.
Thanks in advance to those who take the time.
Offline
check permissions for /mypart/myshare
Offline
Checked the permissions, still doesn't work.
Offline
That answer doesn't help at all. What are the permissions? Have you tried chmod 777 -R /mypart/share ? And also the same for /mypart? Your config for the two shares are virtually identical. If one has a write problem but not the other, it has to be permissions, assuming that you have enough space to write something there.
Offline
Sorry for being unclear. Yes, that's what I meant, Chmod 777 -R does not change anything. Having enough space in not a problem.
Offline
In that case check permissions on the client side. Can you write with root? How about mounting to the folder that allowed writing? Beyond that I'm out of ideas. If you suspect your config just use the testshare config to share mypart. Or mount mypart to testshare. Basically get it to work then you can figure out why it didn't in the first place. Sorry I can't be of further help.
Offline