mattiasw2 / big5sync

Automatically exported from code.google.com/p/big5sync
2 stars 0 forks source link

cannot handle read only files #221

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create two folders set up a tag between them, set to seamless
2. Put a read only text file into the first. 
Syncless correctly copies it into the second folder.
3. Change the first file to read/write and edit it.
Syncless attempts to copy the new file over and fails

What is the expected output? What do you see instead?

I would expect it to change the file in the second folder to read/write before 
attempting to copy it.

What version of the product are you using? On what operating system?

version 2.0.0.0 on Windows XP

Here is the user.log (nothing in debug.log)

2010-06-30 15:38:34 ~:~ APPEVENT ~:~ APPEVENT_TAG_CREATED ~:~ Tag 'ReadOnly' 
created.
2010-06-30 15:39:34 ~:~ APPEVENT ~:~ APPEVENT_FOLDER_TAGGED ~:~ Folder 
'd6895201-d36b-429d-ac34-cfde0b371ca4:\test1' tagged to tag 'ReadOnly'.
2010-06-30 15:39:49 ~:~ APPEVENT ~:~ APPEVENT_FOLDER_TAGGED ~:~ Folder 
'd6895201-d36b-429d-ac34-cfde0b371ca4:\test2' tagged to tag 'ReadOnly'.
2010-06-30 15:39:57 ~:~ SYNC ~:~ SYNC_STARTED ~:~ Started Manual Sync for 
ReadOnly
2010-06-30 15:39:57 ~:~ FSCHANGE ~:~ FSCHANGE_CREATED ~:~ File copied from 
E:\test1\t.txt to E:\test2\t.txt
2010-06-30 15:39:57 ~:~ SYNC ~:~ SYNC_STOPPED ~:~ Completed Manual Sync for 
ReadOnly
2010-06-30 15:41:59 ~:~ SYNC ~:~ SYNC_STARTED ~:~ Started Auto Sync for t.txt
2010-06-30 15:41:59 ~:~ FSCHANGE ~:~ FSCHANGE_ARCHIVED ~:~ File archived 
E:\test2\t.txt
2010-06-30 15:41:59 ~:~ FSCHANGE ~:~ FSCHANGE_ERROR ~:~ Error copying file from 
E:\test1\t.txt to E:\test2\t.txt
2010-06-30 15:41:59 ~:~ SYNC ~:~ SYNC_STOPPED ~:~ Completed Auto Sync for t.txt

Original issue reported on code.google.com by tb.snaps...@gmail.com on 30 Jun 2010 at 2:50