[sugar] Activity write space

Ivan Krstić krstic at solarsail.hcs.harvard.edu
Wed Aug 8 04:41:17 EDT 2007


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.

--
Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | http://radian.org


More information about the Sugar mailing list