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-15 Thread Daniel Narvaez
On 15 September 2013 14:12, Walter Bender walter.ben...@gmail.com 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

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 dwnarv...@gmail.com wrote: On 15 September 2013 14:12, Walter Bender walter.ben...@gmail.com 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

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 dwnarv...@gmail.com 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.

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 dwnarv...@gmail.com wrote: On 15 September 2013 15:15, Daniel Narvaez dwnarv...@gmail.com wrote: On 15 September 2013 14:12, Walter Bender walter.ben...@gmail.comwrote: Another issue that activity developers encounter is lack of access to

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 dwnarv...@gmail.com wrote: On 15 September 2013 14:12, Walter Bender walter.ben...@gmail.com 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

[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: [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 laurent.bern...@gmail.comwrote: Hello, From the sugar-build emulator, I tried to access to my host system home folder - let's say for example

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

2013-09-14 Thread laurent bernabe
-- From: laurent bernabe laurent.bern...@gmail.com 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 dwnarv...@gmail.com Thank you :) 2013/9/14 Daniel Narvaez dwnarv...@gmail.com Hi, you can only

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

2013-09-14 Thread laurent bernabe
2013/9/14 laurent bernabe laurent.bern...@gmail.com -- Forwarded message -- From: laurent bernabe laurent.bern...@gmail.com 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 dwnarv

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

2013-09-14 Thread Daniel Narvaez
...@gmail.com -- Forwarded message -- From: laurent bernabe laurent.bern...@gmail.com 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 dwnarv...@gmail.com Thank you :) 2013/9/14 Daniel

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

2013-09-14 Thread laurent bernabe
or directory So, what did I misunderstood ? Regards 2013/9/14 laurent bernabe laurent.bern...@gmail.com -- Forwarded message -- From: laurent bernabe laurent.bern...@gmail.com Date: 2013/9/14 Subject: Re: [Sugar-devel] Is it possible to access to my Host System home

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 laurent.bern...@gmail.comwrote: 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

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 it possible to access to my Host System home folder from sugar-build instance ? To: Daniel Narvaez dwnarv...@gmail.com Thank you :) 2013/9/14 Daniel Narvaez dwnarv...@gmail.com Hi, you can only access the sugar-build dir. I suggest you put your project inside it (or symlink it). On 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
Ok, thanks, I'll work this way, so. 2013/9/14 Daniel Narvaez dwnarv...@gmail.com On 14 September 2013 19:42, laurent bernabe laurent.bern...@gmail.comwrote: Thanks, I'll try this way. Just one more question please : what should be the best practice ? 1. Either to copy the folder

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

2013-09-14 Thread Daniel Narvaez
System home folder from sugar-build instance ? To: Daniel Narvaez dwnarv...@gmail.com Thank you :) 2013/9/14 Daniel Narvaez dwnarv...@gmail.com Hi, you can only access the sugar-build dir. I suggest you put your project inside it (or symlink it). On 14 September

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 Gonzalo Odiard
bernabe laurent.bern...@gmail.com 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 dwnarv...@gmail.com Thank you :) 2013/9/14 Daniel Narvaez dwnarv...@gmail.com Hi, you can only

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 gonz...@laptop.org wrote: On Sat, Sep 14, 2013 at 3:40 PM, Daniel Narvaez dwnarv...@gmail.com wrote: With the latest sugar-build the user installed activities are in sugar-build/activities. Outside of broot? Well, both inside and outside (the