The problem lied within mkpath in autofd.h.
The first substring is always simply "X:" where X is the drive in question.
So CreateDirectory always tries to create the directory X:\ in the first iteration.
If the drive is C, a simple "A subdirectory or file c: already exists" is returned, but if it is not, then "access is denied" is returned, causing the function to exit.
In my case, a simple check for (pseudocode to follow):
if ((subpath::end-1)==':') continue;
has solved the problem.
if you need the recompiled exe before Shachar releases the next version,
I could send it to you.
I hope Sachar can reproduce the problem and then fix it.David V.On Fri, Mar 14, 2008 at 12:06 AM, Julian <firstname.lastname@example.org> wrote:
Yep, that's what's happening exactly.
I tried with various versions from 0.19 through 1.06, with exactly the same result.
On 13/03/2008, David V. <email@example.com> wrote:Sachar and Julian,This seems to be related to the following thread :http://sourceforge.net/mailarchive/forum.php?thread_name=ede3a6e20706101213y481dd409xab5f4796875f8af9%40mail.gmail.com&forum_name=rsyncrypto-develI had the same problem with restauration with version 1.02.I couldn't decrypt to another drive than C:I don't think the problem has been corrected so far.David V.On Thu, Mar 13, 2008 at 8:43 PM, Julian <firstname.lastname@example.org> wrote:Hi Shachar,-------------------------------------------------------------------------
Hope you are OK!!
I have run into a small (but for me, big!) problem whereby on windows, the following works:
C:\> rsyncrypto -rcv --delete "C:\FILES\XYZ\Documents\Malta 123" "C:\Encrypted\files" "C:\Encrypted\keys" backup.crt
but the following does not (just the dest drive is differnent):
C:\> rsyncrypto -rcv --delete "C:\FILES\XYZ\Documents\Malta 123" "E:\Encrypted\files" "E:\Encrypted\keys" backup.crt
and I get:
mkdir failed(E:): Input/output error
I have tried different drives, drive letters, permissions etc... but to no avail. It seems that any letter other than "C:" is rejected.
At this point it would be really important for me to be able to backup to an external drive.
Any clue why this may be happenning?
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Rsyncrypto-devel mailing list