[maemo-developers] deb permissions problem in SDK

From: Jussi Hakala ext-jussi.hakala at nokia.com
Date: Mon May 28 17:30:06 EEST 2007
Normally, I'd suggest using $USER or $LOGNAME, but since the script is 
run by root, that won't help.

Make your script scratchbox compatible by checking whether 
/targets/links/scratchbox.config exists and substitute user with $USER 
if it does.

Regards,

  Jussi

ext Ian wrote:
> Hi,
> I have made a deb which customizes users home directory and gives some gconf commands to
> personalize user experience. Before installing to device I want to test in SDK. In scratchbox i
> get:
>
> [sbox-SDK_ARMEL: ~] > fakeroot dpkg -i jiboia.deb
> (Reading database ... 17741 files and directories currently installed.)
> Unpacking jiboia (from jiboia.deb) ...
> dpkg: error processing jiboia.deb (--install):
>  error creating directory `./home/user': Permission denied
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
>
> From #maemo i found out i don't have permissions to overwrite /home in scratchbox and scratchbox
> documentation say's nothing about permissions that i can find.
> Is there a way round this?
> []'s
> Ian
>
>
>   


More information about the maemo-developers mailing list