sync.ffs_lock not cleaned up

Discuss new features and functions
Posts: 1
Joined: 5 May 2019

tomlut

I use windows 10 task scheduler to run a batch job at 6am every morning that syncs some files from a server to a NAS.
<Command>"C:\Program Files\FreeFileSync\FreeFileSync.exe"</Command>
<Arguments>"D:\Documents\Scripts\FFSync\hassio.ffs_batch"</Arguments>
This is still working but since the last update there is a sync.ffs_lock file left behind every time this runs.

There are warnings in the log:
[06:32:33]  Warning:  Cannot set directory locks for the following folders:
                      "H:\"
                      Cannot read file attributes of "H:\sync.ffs_lock".
                      Error Code 5: Access is denied. [GetFileAttributesEx]
[06:32:33]  Info:  Comparison finished: 25 items found
[06:32:33]  Info:  Synchronizing folder pair: Mirror->
                       H:\
                       B:\Hassio
[06:32:33]  Info:  Creating file "B:\Hassio\2b5cb12f.tar"
Posts: 2
Joined: 10 May 2019

papavector

Having the same problem on MacOS with 10.11 with SMB, and it's particularly bad on Apple FS shares.