On 12/11/05, pavan shah <[EMAIL PROTECTED]> wrote:
> hello all!!
>
> I have started constructing LFS on mandrake 10.
> Right now i am at section 5.3  in lfs book 6.1
>
> I created lfs user and then logged on as lfs user.
> when i issue following command under binutils-build directory i get an error:
> #../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
>
> i get following eror mesgs on the console
> checking host system type:mkdir can not create directory in
> /root/tmp/cg15264-12510:Permission denied
>
> config.guess:cannot create temporary directory in /root/tmp:Permission denied.
>
> I don't understand why it is going to create a directory in
> /root/tmp.Obviously if I am running configure script as lfs user it
> will not have access to /root/tmp.
>
> But how can i get rid of this permission problem?
>
> regards,
> Pavan.

Did you su to the lfs user by using su - lfs or su lfs. The first one
sets up the environmental variables such as $HOME, $PATH for the user
that you are changing to the second just changes to the lfs user. It
appears that you did not because the environment seems to have the
$HOME dir set to /root.

--
LFS ID #12355
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to