[Samba] The process cannot access the file because another process has locked a portion of the file

Robin Edgar - Tripany red at tripany.com
Fri Aug 24 12:17:01 GMT 2007


>Author: Sandra
>Date: 2007-06-26 21:26 +200
>To: samba
>Subject: [Samba] The process cannot access the file because another process has locked a portion of the file
>I have a directory in a linux server (Debian) and it was exported by nfs to
>another linux server (Debian). In this last server, the directory was
>included in smb.conf (Samba) for Windows users.
>I can access the share from windows and create news files, but I cannot move
>files inside the subdirectories of the share. When I try to do this, I
>receive the follow message:

>Cannot copy file_name. The process cannot access the file because another
>process has locked a portion of the file.

>Anybody knows something about it?


>Sandra

================

Yup, samba's default strict locking has changed. Set
strict locking = no
in [global] and that should solve the problem. Horrible that it's not
in the Debian changelog - took me a week to figure out!




More information about the samba mailing list