Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Walter Bender
On Sun, Sep 15, 2013 at 9:15 AM, Daniel Narvaez wrote: > On 15 September 2013 14:12, Walter Bender wrote: >> >> Another issue that activity developers encounter is lack of access to >> ~/Documents. xdg-user-dir find the chroot home rather than the >> developer's home. > > > Are you using ~/Docume

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Daniel Narvaez
On 15 September 2013 15:44, Daniel Narvaez wrote: > On 15 September 2013 15:15, Daniel Narvaez wrote: > >> On 15 September 2013 14:12, Walter Bender wrote: >> >>> Another issue that activity developers encounter is lack of access to >>> ~/Documents. xdg-user-dir find the chroot home rather than

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Daniel Narvaez
On 15 September 2013 15:44, Daniel Narvaez wrote: > > Yeah one stupid mistake on my side and a more tricky bug... I'll see if I > can just move this to the sugar script, it should be called as early as > possible and it should look nicer in a shell script anyway. > > https://github.com/sugarlabs/

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Daniel Narvaez
On 15 September 2013 15:15, Daniel Narvaez wrote: > On 15 September 2013 14:12, Walter Bender wrote: > >> Another issue that activity developers encounter is lack of access to >> ~/Documents. xdg-user-dir find the chroot home rather than the >> developer's home. >> > > Are you using ~/Documents

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Daniel Narvaez
On 15 September 2013 14:12, Walter Bender wrote: > Another issue that activity developers encounter is lack of access to > ~/Documents. xdg-user-dir find the chroot home rather than the > developer's home. > Are you using ~/Documents to exchange stuff between your main desktop and sugar? > Als

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Walter Bender
Another issue that activity developers encounter is lack of access to ~/Documents. xdg-user-dir find the chroot home rather than the developer's home. Also, for some reason, I cannot get the debug file to be read by sugar. I've tried updating it in sugar-build, in /var/broot, and ~/.sugar but

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread Daniel Narvaez
On 15 September 2013 01:15, Gonzalo Odiard wrote: > On Sat, Sep 14, 2013 at 3:40 PM, Daniel Narvaez > wrote: > > With the latest sugar-build the user installed activities are in > > sugar-build/activities. > > > > Outside of broot? > Well, both inside and outside (the sugar-build directory is b

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread Gonzalo Odiard
_ >> >> >> >> Is there a workaround for my problem ? >> >> >> >> Regards >> >> >> >> >> >> 2013/9/14 laurent bernabe >> >>> >> >>> Hi

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread Daniel Narvaez
For completeness, it would be probably possible to change sugar-build to mount the whole home in the chroot. I tend to like keeping all self contained, but I didn't really think it through carefully. (If I remember correctly Chrome OS mounts the whole home directory, for what it's worth). _

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread Daniel Narvaez
> > >> > >> 2013/9/14 laurent bernabe > >>> > >>> Hi again, > >>> > >>> I've created a symlink over my project root with > >>> > >>> $> ln -s > >>> > /home/my_user_folder/LibrairiesPr

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
Ok, thanks, I'll work this way, so. 2013/9/14 Daniel Narvaez > On 14 September 2013 19:42, laurent bernabe wrote: > >> Thanks, >> >> I'll try this way. >> >> Just one more question please : what should be the best practice ? >> >>1. Either to copy the folder with new modifications each tim

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread Gonzalo Odiard
folder/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity >>> HitTheBalls.activity >>> >>> So I ended with "a new folder" HitThaBalls.activity in the sugar-build (I >>> verified with ls -s command) >>> >>> But I still can'

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread Daniel Narvaez
On 14 September 2013 19:42, laurent bernabe wrote: > Thanks, > > I'll try this way. > > Just one more question please : what should be the best practice ? > >1. Either to copy the folder with new modifications each time ? >2. Or (I bet it is this one) : copy the folder one for all in >

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
1.6/skeleton/HitTheBalls.activity >>> HitTheBalls.activity >>> >>> So I ended with "a new folder" HitThaBalls.activity in the sugar-build >>> (I verified with ls -s command) >>> >>> But I still can't access to its contents : >>> If i tr

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread Daniel Narvaez
ivity in the sugar-build (I >> verified with ls -s command) >> >> But I still can't access to its contents : >> If i try to get into it, I still get "No such file or directory" error >> >> => $> cd HitTheBalls.activity >> "No s

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
s.activity > "No such file or directory" > > So, what did I misunderstood ? > > Regards > > > 2013/9/14 laurent bernabe > >> >> >> ------ Forwarded message ------ >> From: laurent bernabe >> Date: 2013/9/14 >

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
t; -- Forwarded message -- > From: laurent bernabe > Date: 2013/9/14 > Subject: Re: [Sugar-devel] Is it possible to access to my Host System home > folder from sugar-build instance ? > To: Daniel Narvaez > > > Thank you :) > > > 2013/9/14 Daniel Narv

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread Daniel Narvaez
Hi, you can only access the sugar-build dir. I suggest you put your project inside it (or symlink it). On 14 September 2013 10:38, laurent bernabe wrote: > Hello, > > From the sugar-build emulator, I tried to access to my host system home > folder - let's say for example /home/me_as_user/ - but

[Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
Hello, >From the sugar-build emulator, I tried to access to my host system home folder - let's say for example /home/me_as_user/ - but when I try cd /home/me_as_user/, I get an error "No such file or directory", though it does exists. So is it possible to access this folder from Sugar-build ? Re