[Samba] locked files that shouldn't be

Josh Kelley joshkel at gmail.com
Wed Nov 30 20:26:09 GMT 2005


On 11/30/05, Joe <jkonecn at green-mfg.com> wrote:
> "The process cannot access the file because another process
> has locked a portion of the file."
>
> smbstatus does not show this file as being open and it is mode 777.

It's probably a byte-range lock.  Run "smbstatus -B"; it lists locked
files by their device and inode, so you'll need that information for
the file you're interested in.  (Run "ls -li" on the file to get its
inode number.)

Josh Kelley


More information about the samba mailing list