Samba not locking files
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. |
Also just to add I have the following line in smb.conf
lock directory = /var/lock/samba |
Hi everyone,
I managed to solve the problem. I was doing the test using notepad file. File lock only works if application supports it. I did the test using Excel file and I can confirm that there are no issues. Thank you all. |
All times are GMT -5. The time now is 05:35 PM. |