[Samba] Samba not locking files

Marcio Oli marcio.oli.df at gmail.com
Thu Oct 18 10:02:15 MDT 2012


     I don't know, but you could try to change the parameters "strict
locking" and "locking" to the default values or just remove them from
smb.conf. I think that these actions can solve the problem. After, tell us
a feedback!

Thanks,
Marcio.

2012/10/18 Marko R <markoradi at yahoo.com>

> Hello,
>
> I created the following samba share but for some reason samba is not
> locking the files open by other users. For example user dave open a file in
> the share and user slav does not get the notification that opened file is
> already being used by another user. I even added the locking options to the
> global but no luck.
>
> [share]
> comment = Main share
> path = /share
> guest ok = no
> writable = yes
> create mask = 0775
> directory mask = 0755
> browsable = yes
> write list = dave  slav
> force group = users
> oplocks = yes
> level2 oplocks = yes
> strict locking = yes
> locking = yes
>
> System I am using is Ubuntu 12.04 LTS 64bit Server.
>
> Thanks for any help or advise.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
Marcio Oliveira.
"Tudo concorre para o bem daqueles que amam à Deus." (Rom 8,28)


More information about the samba mailing list