michael ha scritto:
Hi,

Claudio Scordino wrote:
Dear Lauri,

I have another issue with Scratchbox2 (hopefully, all these issues will help in having a better final product).

The problem is as follows. When the user is just called "user", Scratchbox2 can't ls some directories.

Steps to reproduce the problem:

 1. Create a user called "user" on the system:

    sudo adduser user
    ...

 2. Install Scratchbox2 somewhere into user's home directory

 3. Create a directory "foo" inside /home/user:

    mkdir /home/user/foo

 4. Enter this directory:

    cd /home/user/foo

 5. Start Scratchbox2:

    sb2

 6. Type a ls command:

    ls


Is a simple one issue. Is related to the mapping. If you open the 00_default mapping you find an entry /home/user. Try to delete it. Next time just call sb2 -d, and check the problem

Thanks Michael,

    this fixed the problem.

However, I don't understand the meaning for this mapping (am I missing something ?).

Actually, I didn't even check the mapping file because I assumed that Scratchbox would behave fairly in the same way for all users. From the mapping file, instead, I can see that the behavior for a user called "user" is different than for users having different name.

Please, can some developer give me more details about this mapping ?

What is used for ?

Can it be removed ?

Did you already consider that it prevents Scratchbox2 from running on vmware images which usually have the default user called "user" ?

Many thanks again,

       Claudio
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to