You are not logged in.

#1 2013-03-22 20:47:31

clovenhoof
Member
From: Bulgaria
Registered: 2010-09-16
Posts: 82

[Solved] After recent upgrade, cannot write to samba shares?

Hi

I'm not sure what is the exact problem, but since now I have no problem with read/write access to my Archlinux samba server.
I cannot understand what package caused this issue to me.
Here is my server's smb.conf, which worked fine 2-3 years without any change:

-----------------------------------------------------------
[global]
server string = Home Server
workgroup = MSHOME
security = share
hosts allow = 10.74.87. 127. 10.8.
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072
disable spoolss = yes
load printers = no
printing = bsd
printcap name = /dev/null
dns proxy = no
unix extensions = no

[stefan]
force user = stefan
path = /home/stefan
writable = yes
public = yes
follow symlinks = yes
wide links = yes

---------------------------------------------------------------------------------------

My permissions of /home/stefan are:
drwxr-xr-x 43 stefan    users      4096 Mar 22 01:17 stefan

and currently I have no write acces to this folder through samba client (Windows 7 PC).
The access rights only depend of "/home/stefan/" permissions and it seems that "force user" option is not respected any more.

Last edited by clovenhoof (2013-03-22 21:45:30)

Offline

#2 2013-03-22 21:42:59

clovenhoof
Member
From: Bulgaria
Registered: 2010-09-16
Posts: 82

Re: [Solved] After recent upgrade, cannot write to samba shares?

Ok, if there is anybody interested about this topic, then one solution is to add:
guest account = stefan

to the [global] section.

So, I use this one and it works for me.

Cheers smile

Last edited by clovenhoof (2013-03-22 21:45:10)

Offline

Board footer

Powered by FluxBB