[lfs-support] GCC Pass 1

Jack Ditchburn jackplughd at gmail.com
Tue May 6 12:47:09 PDT 2014


Ran the chmod command and got

sudo chmod -R lfs.lfs $LFS/sources
[sudo] password for lfs:
Sorry, user lfs is not allowed to execute '/bin/chmod -R lfs.lfs
/mnt/lfs/sources' as root on phoenix.

Something fundamentally broken I think.  I originally downloaded the
sources onto the host, before i started to configure lfs, then copied them
across to $LFS/sources when that had been created.  I think that maybe I
should run chmod on all the files in $LFS/sources, but the message above
seems to preclude that?

Thanks for your time


On 6 May 2014 22:38, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:

> Jack Ditchburn wrote:
>> Guys,
>> I hope everyone is well.
>> Concerning the subject:
>> I unpacked GCC-4.8.2 as user lfs and cd to the created directory.Then ran
>> the command concerning mpfr and got the following error:
>> tar -Jxf ../mpfr-3.1.2.tar.xz
>> tar (child): ../mpfr-3.1.2.tar.xz: Cannot open: Permission denied
>> tar (child): Error is not recoverable: exiting now
>> tar: Child returned status 2
>> tar: Error is not recoverable: exiting now
>> Looking in GCC-4.8.2 using ls, I could not see mpfr, although I could see
>> mpc and gmp.  So I deleted GCC directory and unpacked it again as lfs
>> user.  This time it did not create mpfr or mpc, but only gmp.  Have I got
>> a
>> broken download of GCC?  Do I need to delete the GCC tarball and
>> redownload
>> it?  Or is there another problem?
> Sounds like permissions.
> $ ls -ld $LFS/sources
> If everything is not owned by user lfs, run
> $ sudo chmod -R lfs.lfs $LFS/sources
>   -- Bruce
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page


*The dream is shatteredThe web site cannot be foundInside the spring rain.*

*First snow, then silence.This expensive server diesSo beautifully.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20140506/748d3f7d/attachment.html>

More information about the lfs-support mailing list