You are here

Failed to copy read-only files

6 posts / 0 new
Last post
nqkzt057
Offline
Last seen: 13 years 3 months ago
Joined: 2008-10-13 23:53
Failed to copy read-only files

When I run Toucan in Sync mode, Mirror function, it can't replace read-only file in destination even though I checked the "Ignore read-only" checkbox. Toucan showed that it failed to copy the toucan.tmp (access denied).

Is it just me or this is really a bug? If anyone have a work-around, please post it.

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
Sounds

like a bug to me, does it still happen in the latest pre-release?

nqkzt057
Offline
Last seen: 13 years 3 months ago
Joined: 2008-10-13 23:53
Yes, it does

I downloaded the pre-release and try it like this:
- In windows:
+ create folder C:\1\
+ create folder C:\2\
+ create a text file in C:\1\
+ copy that file to C:\2\
+ change the text file in C:\2\
+ set the text file on C:\2\ to READ-ONLY
- In Toucan:
+ create new job
+ set source to C:\1\
+ set destination to C:\2\
+ set function to mirror
+ check "Ignore Read-only"
+ run the job
==> result:
Failed to copy the file "C:\2\Toucan.tmp" to "C:\2\test.txt" (error 5: access is denied.)
Failed to copy "C:\1\test.txt"

And I'm using windows xp, not 7 or vista

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
Thanks

for the steps to reproduce, I will try and get this fixed for the final release.

nqkzt057
Offline
Last seen: 13 years 3 months ago
Joined: 2008-10-13 23:53
Hmm

This is just my though, but why don't you make overwrite read-only files a default? I've used a couple of sync program in the past (mostly Syncback) and they overwrite read-only files by defaults. And then could make the "Don't copy/delete read-only file" an option. I think most user don't care about read-only attribute anyway so that make things easier for them

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
Yes

better defaults are being chosen in version 3 Smile

Log in or register to post comments