sync.ffs_lock not cleaned up

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

Post by tomlut • 05 May 2019, 01:29

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.

Code: Select all

<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:

Code: Select all

[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"

papavector
Posts: 2
Joined: 10 May 2019

Post by papavector • 10 May 2019, 16:18

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