On Nov 2, 2007, at 3:28 , Walter Bender wrote: > 1. File-path compliance means that you must ensure your activity > does not write to any path outside of that contained in the > environment variable SUGAR_ACTIVITY_ROOT; specifically > subdirectories called 'data', 'conf' and 'tmp' within the > SUGAR_ACTIVITY_ROOT directory. (We are working with the Sugar team > to provide helper functions for easily getting those three > directory paths for those of you using Python. Until then, please > depend on the environment variable directly.)
Guessing from the names, is this what these directories are for? $SUGAR_ACTIVITY_ROOT/data # contents preserved after exit, private to one activity instance $SUGAR_ACTIVITY_ROOT/conf # contents preserved after exit, shared with all activity instances $SUGAR_ACTIVITY_ROOT/tmp # contents deleted after exit, private to one activity instance I started documentation for this at http://wiki.laptop.org/go/Low-level_Activity_API#Security - Bert - _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel