[Opensim-users] Creating oar file from folder

Christopher Yeoh cyeoh at ozlabs.org
Tue Apr 28 08:07:51 UTC 2009


On Mon, 27 Apr 2009 19:26:43 +0100
Justin Clark-Casey <jjustincc at googlemail.com> wrote:
> > 
> > This under most circumstances avoids including directory entries into the
> > archive. At one stage the dearchiver was made to be a bit more tolerant
> > of the input like that but the code appears to have regressed a bit.
> 
> Is this definitely the case right now?  From which I last effectively tested this (which wasn't that long ago), there 
> were no problem with directory entries in the tar.  If this is no longer the case then a bug report in Mantis with the 
> offending oar file attached would be much appreciated.

Definitely is the case right now (at least from yesterday's trunk). There used
to be a test in DearchiveRegion0DotStar that checked to see if the filetype
was a directory and to ignore it if that was the case.

I've been meaning to send a patch for a while as its been annoying me but I've been flat out. 
If you look at the diff between r8857:8858 for OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs
you can see where the directory test was removed. Sorry for being vague, am not allowed to send a patch directly ;-)

Regards,

Chris
-- 
Christopher Yeoh <cyeoh at ozlabs.org>



More information about the Opensim-users mailing list