Writing data on the XO

Bert Freudenberg bert at freudenbergs.de
Sat Mar 29 08:50:24 EDT 2008


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 -





More information about the Devel mailing list