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

Daniel Narvaez dwnarvaez at gmail.com
Sat Sep 14 12:55:54 EDT 2013


Hmm yeah, a symlink won't actually work, sorry. You need to move the
directory inside the sugar-build directory.


On 14 September 2013 18:01, laurent bernabe <laurent.bernabe at gmail.com>wrote:

> Hello,
>
> this is my sugar-build terminal output, which shows how is defined the
> symlink and what problem I am facing with it in sugar-build
>
>
> _______________________________________________________________________________________________
>
> bash: cd: HitTheBalls.activity: No such file or directory
> bash-4.2$ ls -l
> total 184
> lrwxrwxrwx  1 broot broot    96 Sep 14 09:47 HitTheBalls.activity ->
> /home/laurent-bernabe/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity
> -rw-rw-r--  1 broot broot   598 Sep 13 12:59 README.md
> drwxrwxr-x  8 broot broot  4096 Sep 13 19:01 at-spi2-atk
> drwxrwxr-x 15 broot broot  4096 Sep 13 19:01 at-spi2-core
> drwxrwxr-x 10 broot broot  4096 Sep 13 19:00 automake
> drwxrwxr-x  9 broot broot  4096 Sep 13 19:10 browse
> drwxrwxr-x  7 broot broot  4096 Sep 14 09:31 build
> drwxrwxr-x  9 broot broot  4096 Sep 13 19:10 chat
> drwxrwxr-x  9 broot broot  4096 Sep 13 19:10 clock-web
> drwxrwxr-x  8 broot broot  4096 Sep 13 14:55 docker
> drwxrwxr-x 10 broot broot  4096 Sep 13 19:06 flake8
> drwxrwxr-x  6 broot broot  4096 Sep 13 14:51 grunt-cli
> drwxrwxr-x  9 broot broot  4096 Sep 13 19:10 gtd-activity
> drwxrwxr-x  7 broot broot  4096 Sep 13 19:02 gwebsockets
> drwxrwxr-x  4 broot broot  4096 Sep 13 19:10 home
> drwxrwxr-x  8 broot broot  4096 Sep 13 19:10 imageviewer
> drwxrwxr-x  6 broot broot  4096 Sep 13 14:55 js-beautify
> drwxrwxr-x  8 broot broot  4096 Sep 13 14:55 jshint
> drwxrwxr-x  8 broot broot  4096 Sep 13 19:10 jukebox
> drwxrwxr-x 12 broot broot  4096 Sep 13 19:03 karma
> drwxrwxr-x 10 broot broot  4096 Sep 13 19:02 libxklavier
> drwxrwxr-x  8 broot broot  4096 Sep 13 19:10 log
> -rwxrwxr-x  1 broot broot 12480 Sep 13 12:59 osbuild
> drwxrwxr-x  8 broot broot  4096 Sep 13 19:06 pep8
> drwxrwxr-x 12 broot broot  4096 Sep 13 19:10 pippy
> drwxrwxr-x  8 broot broot  4096 Sep 13 19:06 pyflakes
> drwxrwxr-x  9 broot broot  4096 Sep 13 19:10 read
> drwxrwxr-x  7 broot broot  4096 Sep 13 14:55 recess
> drwxrwxr-x 11 broot broot  4096 Sep 13 19:08 sugar
> drwxrwxr-x  9 broot broot  4096 Sep 13 19:09 sugar-artwork
> drwxrwxr-x  7 broot broot  4096 Sep 13 19:07 sugar-base
> drwxrwxr-x  8 broot broot  4096 Sep 13 19:09 sugar-datastore
> drwxrwxr-x  4 broot broot  4096 Sep 13 17:56 sugar-docs
> drwxrwxr-x 10 broot broot  4096 Sep 13 19:10 sugar-runner
> drwxrwxr-x  9 broot broot  4096 Sep 13 19:07 sugar-toolkit
> drwxrwxr-x 10 broot broot  4096 Sep 13 19:08 sugar-toolkit-gtk3
> drwxrwxr-x  6 broot broot  4096 Sep 13 18:07 sugar-web
> drwxrwxr-x  7 broot broot  4096 Sep 13 18:07 sugar-web-template
> drwxrwxr-x  4 broot broot  4096 Sep 13 19:10 sugar-web-test
> drwxrwxr-x  8 broot broot  4096 Sep 13 19:10 terminal
> drwxrwxr-x 15 broot broot  4096 Sep 13 19:10 turtleart
> drwxrwxr-x  9 broot broot  4096 Sep 13 14:51 volo
> drwxrwxr-x  6 broot broot  4096 Sep 13 18:07 webL10n
> bash-4.2$ cd HitTheBalls.activity
> bash: cd: HitTheBalls.activity: No such file or directory
> bash-4.2$
>
> ______________________________________________________________________________________________
>
> Is there a workaround for my problem ?
>
> Regards
>
>
> 2013/9/14 laurent bernabe <laurent.bernabe at gmail.com>
>
>> Hi again,
>>
>> I've created a symlink over my project root with
>>
>> $> ln -s
>> /home/my_user_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'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 such file or directory"
>>
>> So, what did I misunderstood ?
>>
>> Regards
>>
>>
>> 2013/9/14 laurent bernabe <laurent.bernabe at gmail.com>
>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: laurent bernabe <laurent.bernabe at 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 <dwnarvaez at gmail.com>
>>>
>>>
>>> Thank you :)
>>>
>>>
>>> 2013/9/14 Daniel Narvaez <dwnarvaez at 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 2013 10:38, laurent bernabe <laurent.bernabe at gmail.com>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 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 ?
>>>>>
>>>>> Regards
>>>>>
>>>>> _______________________________________________
>>>>> Sugar-devel mailing list
>>>>> Sugar-devel at lists.sugarlabs.org
>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Daniel Narvaez
>>>>
>>>
>>>
>>>
>>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130914/70a7f6bc/attachment-0001.html>


More information about the Sugar-devel mailing list