I have some little knowledge about C, if it's not too complicated I think I could
handle it.

Sure, but the only problem is that what I have is something for windows, which I'm not too comfortable with (it was a quick solution with many things hardcoded etc.)
I can help with a linux version, after all it would only be a couple of dozen lines, though i suspect we'd need the boost::filesystem library.

The best thing would of course be to wait for Shachar to look into what might be causing this in rsyncrypto, but if you really really need this, are aren't in a desperate hurry, I dont mind giving a hand at all. Let me know ;)

> Hi Renaud.. If you don't manage with 1.06.. maybe I can help you with
> a small C program to get around this.. do you have any knowledge of C
> at all?
>
> On 21/03/2008, *renaud cabrol* <reno@faubourg.org

> <mailto:reno@faubourg.org>> wrote:
>
>     Hi,
>
>     I will try tomorrow to upgrade to 1.06 and see if the error is
>     still there.
>
>
>     "I am a bit out of touch with rsyncrypto."
>
>     Does it mean that rsyncrypto will not be developed / supported
>     anymore ?
>
>     Thanks julian for having a look on it. If upgrading does not solve the
>     problem I will post more details about the error.
>
>     Renaud Cabrol
>
>
>
>
>     Julian wrote:
>     > No luck in replicating yet. I don't know what causes it.
>     > I am getting a "stat failed" with very long path names, though.
>     > I searched through some old logs and found the error thrown was
>     always
>     > (on windows):
>     > Error removing directory(C:\*filename*): Unknown error
>     > (as opposed to the more verbose "directory not empty" error reported
>     > by renaud on linux)
>     >
>     >
>     > On 20/03/2008, *Julian* <julian.paceross@gmail.com
>     <mailto:julian.paceross@gmail.com>
>
>     > <mailto:julian.paceross@gmail.com
>     <mailto:julian.paceross@gmail.com>>> wrote:
>     >
>     >     I noticed this on windows too some time back.
>     >     If a directory tree, three levels deep, is deleted on the source
>     >     (after it would have been encrypted to dest at least once
>     >     previously), I get this error.
>     >     However, the lowest directory would have been deleted from dest.
>     >     Running the exact same command three consecutive times with
>     >     --delete, and the error disappears (i.e. the three levels would
>     >     have been deleted one level at a time, with one of these errors
>     >     each time, for each directory level).
>     >
>     >     Not sure if this has been fixed by 1.06, but I don't think so.
>     >     I remember getting round it by writing a small c program just to
>     >     do the parse the directories and perform any deletions before
>     >     actually running rsyncrypto. But that was before I acquired
>     Visual
>     >     Studio, so I guess I can try look into it now.
>     >
>     >     Julian
>     >
>     >
>     >
>     >
>     >
>     >
>     >     On 20/03/2008, *Shachar Shemesh* <shachar@shemesh.biz
>     <mailto:shachar@shemesh.biz>
>

>     >     <mailto:shachar@shemesh.biz <mailto:shachar@shemesh.biz>>>

>     wrote:
>     >
>     >         renaud cabrol wrote:
>     >
>     >         > I would like to know if I'm doing something wrong or
>     if this
>     >         is a known bug and upgrading rsyncrypto is necessary.
>     >         >
>     >
>     >         The bug does not ring a bell, but I am a bit out of
>     touch with
>     >         rsyncrypto.
>     >
>     >         > I don't find anything in the bug track.
>     >         > rsyncrypto 1.06 is only available on lenny and depends on
>     >         libc6 (>= 2.7-1), I don't know how to install it. Is it
>     >         possible to compile it on etch ?
>     >         >
>     >
>     >         You can compile it yourself using the usual procedure.
>     >         Otherwise, you
>     >         can download it from my company's web site, or just add to
>     >         your source.list:
>     >         deb http://www.lingnu.com/apt etch main
>     >         deb-src http://www.lingnu.com/apt etch main
>     >
>     >         The archive is, unfortunately, unsigned at this time.
>     This will,
>     >         however, allow you to stay up to date when new versions are
>     >         released.
>     >
>     >
>     >         Shachar
>     >
>     >
>     >
>     -------------------------------------------------------------------------
>     >         This SF.net email is sponsored by: Microsoft
>     >         Defy all challenges. Microsoft(R) Visual Studio 2008.
>     >         http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>     >         _______________________________________________
>     >         Rsyncrypto-devel mailing list
>     >         Rsyncrypto-devel@lists.sourceforge.net
>     <mailto:Rsyncrypto-devel@lists.sourceforge.net>
>
>     >         <mailto:Rsyncrypto-devel@lists.sourceforge.net
>     <mailto:Rsyncrypto-devel@lists.sourceforge.net>>
>
>     >
>     https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel
>     >
>     >
>     >
>
>
>     -------------------------------------------------------------------------
>     This SF.net email is sponsored by: Microsoft
>     Defy all challenges. Microsoft(R) Visual Studio 2008.
>     http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>     _______________________________________________
>     Rsyncrypto-devel mailing list
>     Rsyncrypto-devel@lists.sourceforge.net
>     <mailto:Rsyncrypto-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel
>
>