Using activity.get_activity_root() did the trick, I've bundled the activity and uploaded to the wiki:
http://wiki.laptop.org/go/Assimilate I've filled the application to host the project on the olpc git server a few days ago but didn't receive any response, shall I write another application or just wait? Cheers. On Sat, 2008-03-29 at 13:50 +0100, Bert Freudenberg wrote: > On 29.03.2008, at 13:14, Urko Fernandez wrote: > > I have written an activity that is working ok in sugar-jhbuild but > > under > > QEMU I have problems with file permissions: as the activity is > > launched > > in isolation, I have to give full 777 permissions to the folder > > where I > > store the data, but I have to do it manually from the command line [I > > tried adding a os.chmod(path, '0777') but as it's executed with the > > isolated user, the modification don't take place]. > > > > Is there some other way to store data? I want to upload the activity > > I'm > > coding but it's no use if the bundled package only works under > > sugar-jhbuild. > > > http://wiki.laptop.org/go/Low-level_Activity_API#Writable_Directories > > - Bert - > > > _______________________________________________ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel