[tahoe-dev] tahoe cp -r assert on dangling symlink

Peter Secor secorp at allmydata.com
Thu Jan 8 03:36:07 UTC 2009


Thanks Larry, also we have an IRC channel on irc.freenode.net - #tahoe 
if you want to join in.

Ps

Larry Hosken wrote:
> Hello excellent tahoe-dev people--
> 
> I did a 'tahoe cp -r path tahoe:path' to copy a tree of files; but 
> instead I hit  an assert.  I blush to admit the problem: I had a 
> dangling symlink in my local file tree.  The assert wasn't so 
> useful to me--it didn't tell me the path that caused the problem 
> or give me a way to work around it.  
> 
> I enclose a patch+diff that tweaks this behavior: if you try to copy 
> something that's neither a dir or a file, you skip it instead of 
> asserting.  I don't know if this is the best way to handle the case, 
> but I sure like it better than that assert.  If you don't like the 
> patch and want me to write up a bug report instead, that works.
> 
> Best regards,
> Larry H.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at allmydata.org
> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev



More information about the tahoe-dev mailing list