On Nov 19, 2008, at 6:42 PM, ext michael wrote:
Hi,
Claudio Scordino wrote:
The problem is as follows. When the user is just called "user",
Scratchbox2 can't ls some directories.
...
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
Yes, and that rule maps /home/user to target_root (=rootstrap), so a
user called "user" won't be able to see his/her real home directory at
all. That rule exists because "user" is the name of the default user
on the maemo platform.
That rule is of course a bad thing if a) your target does not have any
special meaning for that username, and b) you happen to have a real
user named "user".
I think that the simplest possible solution would be to add
{prefix = sbox_user_home_dir, use_orig_path = true},
to the rules before that problematic /home/user rule; then the real
home directory would be visible for "user" (but unlike other users,
"user" won't be able to see /home/user from the rootstrap).
On the other hand, I don't know if that special rule for /home/user is
really needed anymore. I'll find out, so that a permanent solution can
be selected..
Regards,
Lauri
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users