RE: Rsyncrypto error message
Brought to you by:
thesun
From: Jan A. <jan...@do...> - 2008-10-13 19:06:59
|
Hi Shachar, Another thing from the past was the issue written down below. The error message works, but the tmp file remains on the disk. Would it be possible to remove the tmp file ? Regards, Jan -----Oorspronkelijk bericht----- Van: Jan Alphenaar [mailto:jan...@do...] Verzonden: donderdag 24 juli 2008 21:20 Aan: 'Shachar Shemesh' CC: 'L-rsyncrypto' Onderwerp: RE: Rsyncrypto error message 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 |