Results 1 to 2 of 2

Thread: Samba Not Locking files in use

  1. #1
    Join Date
    Oct 2012

    Question Samba Not Locking files in use


    I installed Samba on Ubuntu Server 12.04 and added users to the system, created a shared directory with the following settings:

    comment = Main share
    path = /share
    guest ok = no
    writable = yes
    create mask = 0755
    directory mask = 0755
    browsable = yes
    write list = dave slav
    force group = users

    The only thing I changed in global was enabled security = user

    The problem happens when user dave has a file open, user slav open the file without any notification that file is already open.

    Please let me know if this is some sort of bug in SAMBA or am I missing something.

  2. #2
    Join Date
    Oct 2012

    Re: Samba Not Locking files in use

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts