1 Jul 2010 14:49
Re: Fatal error: Warning: the previous run of unison terminated in a dangerous state
ectanna2001 <ectanna2001 <at> yahoo.com>
2010-07-01 12:49:53 GMT
2010-07-01 12:49:53 GMT
I still haveing a problem after tried with version 2.40, can someone help please ! As I mentioned: - I do have 2 location of the folders (Q: and local drive e.g.D:/Program Files/Aastra/Oas/root_container ) and normally Unison synchonize file for me perfectly. - But if the file is opened by application on a local drive then a new copied file on Q: drive (same file name but has updated content) would NOT be able to replicate to local drive. - I can see a new copied file for example ".unison.TC1.wav..001..33b7d2.unison.tmp" was created on the local drive, and got error in Unison log. ===== Failed: Error in renaming C:/Program Files/Aastra/OAS/root_container/TC1.wav to C:/Program Files/Aastra/OAS/root_container/.unison.TC1.wav..001..33b7d2.unison.tmp: Permission denied [rename(C:/Program Files/Aastra/OAS/root_container/TC1.wav)] ===== - As soon as file is closed by application then file is replicated to local drive okay. I have tried with the CreateFile API with the FILE_SHARE_DELETE option but the behavior is same. The problem here is not with renaming but Unison is not able to updating the file which is in use. Unsion is not able to update the file if the handle count is > 1, when the handle counts becomes zero then Unsion is updating the file. What is Unison trying to do in case of updating file actually ? I tested and I'm sure that file can be renamed while file is opened by application, so there should not be a problem on the window level. But some how Unison cannot updating file. Can please someone advice. Br.Anek(Continue reading)
RSS Feed