Locked file error

Get help for specific problems

Anonymous

My set up:

- Windows 7 Home Premium SP1 64 bit
- FreeFileSync v5.5
- standard user account

I am having problems with a locked file error.

I have a batch mirror synchronisation that includes the directory where
FreeFileSync puts its log files. In v5.4 the synchronisation worked without
error, but since updating to v5.5 I get a locked file error for the log file
that FreeFileSync creates for the job, e.g.

Image

I have checked the Global Settings and copying locked files is unchecked.

Is this a bug, or am I doing something wrong?

Thanks

Anonymous

Error message hasn't appeared. Hopefully this will work: https://docs.google.com/open?id=0B2ZFZtXjiB5bME44SU9OSmtwVGM
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

>Is this a bug, or am I doing something wrong?
No, copying the log file while it is locked was never supposed to work in
first place. For some reason, probably a wxWidgets bug this worked in v5.4.
v5.5 implements native Win32 API access which uncovers this issue.
See also: [404, Invalid URL: https://sourceforge.net/tracker/?func=detail&atid=1093081&aid=3540817&group_id=234430]

Anonymous

Thanks for the speedy response!

So shouldn't unchecking the "Copy locked files" option have solved this? If
not, what does that option do?

Thanks
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

>So shouldn't unchecking the "Copy locked files" option have solved this?
Well, you need to *check* "copy locked files" to ...uhm... copy locked files
;)
I think the misconception is that you think you exclude locked files by
unchecking. But this flag only configures if VSS shall be used to force-copy
it, else an error message... the one you are seeing... is shown.
Posts: 2
Joined: 15 Jul 2012

lordphilippe

Man, read the instructions first!

You need to setup the main .exe file to be ran in ADMINISTRATION mode!

Anonymous

> Well, you need to *check* "copy locked files" to ...uhm... copy locked files
;) I think the misconception is that you think you exclude locked files by
unchecking. But this flag only configures if VSS shall be used to force-copy
it, else an error message... the one you are seeing... is shown.



Thanks for the explanation.

It sounds like the copy locked files option should be changed to "Force
copy of locked files."
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

> "Force copy of locked files."
I'm not sure: if it is checked, it will copy locked files via VSS. If it is
not checked, it will not employ VSS, which naturally results in failure to
copy and is equivalent to "not copying the locked file".