[sugar] Activity write space

Marco Pesenti Gritti mpgritti
Wed Aug 8 08:26:24 EDT 2007


On 8/8/07, Ivan Krsti? <krstic at solarsail.hcs.harvard.edu> wrote:
> On Aug 8, 2007, at 4:27 AM, Marco Pesenti Gritti wrote:
> > Really? We want Sugar to work also outside the OLPC distribution (and
> > so without Rainbow).
>
> I think this /data business is nonsense. The activity should be given
> a path at startup, and it should only ever attempt to work with known
> directories under that path (such as 'conf', 'tmp', 'data'). That
> behavior will work with or without Rainbow, and is the right thing to
> do anyway; hard-coding paths outside of the activity's own space is
> clearly not a good idea in any scenario.

Yeah that sounds much better.

Marco



More information about the Sugar-devel mailing list