RE: Rsyncrypto error message
Brought to you by:
thesun
From: Jan A. <jan...@do...> - 2008-07-24 19:20:34
|
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:sh...@sh...] 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 |