Sachar,

Nice, it works...

This is the output of the test.

====== BEGIN OUTPUT ======
D:\Test>"D:\test\RsynCrypto\RsynCrypto.exe" D:\Test\ClearFiles\testfile.pdf"
"D:\Test\EncryptedFiles\testfile.pdf" "D:\Test\keys\testfile.pdf"
"D:\Test\Certificate\Cert.crt"
rename failed(D:\Test\EncryptedFiles\testfile.pdf): Permission denied
======= END OUTPUT =======

Thanks !

Regards,

Jan

-----Oorspronkelijk bericht-----
Van: Shachar Shemesh [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 22 juli 2008 7:20
Aan: Jan Alphenaar
CC: 'L-rsyncrypto'
Onderwerp: Re: Rsyncrypto error message

Jan Alphenaar wrote:
>
> Hi Sachar,
>
>  
>
> I have another question regarding error messaging.
>
>  
>
> When rsyncrypto tries to overwrite a read-only file (which is not 
> possible) it gives me the following error message: "file open failed: 
> Input/output error".
>
>  
>
> Would it be possible/desirable to change this to something like 
> "error: <target file> is read-only" ?
>
>  
>
> Warm regards,
>
>  
>
> Jan
>
Hi Jan,

Can you try it with the attached patch? I greatly enhanced the 
translation between Win32 errors and errno errors, and I believe the 
particular problem should be resolved by it.

Thanks
Shachar


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel

Reply via email to