Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 11-08-2011, 08:32 AM   #16
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10

here's the output of ls -la in /mnt/lfs directory:

root@ubuntu:/mnt/lfs# ls -la
total 32
drwxr-xr-x 5 root root 4096 2011-11-07 12:45 .
drwxr-xr-x 4 root root 4096 2011-11-07 11:38 ..
drwx------ 2 root root 16384 2011-11-07 11:38 lost+found
drwxrwxrwt 6 lfs root 4096 2011-11-07 13:07 sources
drwxr-xr-x 2 lfs root 4096 2011-11-07 12:45 tools
Old 11-08-2011, 08:56 AM   #17
Senior Member
Registered: Jan 2011
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
All of chapter 5is done as user so if there is a permission issue then something is wrong
Old 11-08-2011, 09:56 AM   #18
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Originally Posted by devilboy09 View Post
sure i did make install as root . because i don't have the permission. you mean i have to be able to make install as lfs user?
Yes, _all_ steps in chapter 5 need to be done as user lfs (as I already mentioned in post #11).

In chapter 4 you create the lfs use and its environment. At the end of 4.3 you log in as user lfs and chapter 5.35 is where you log out as user lfs and become root again (for the remainder of the book).

Remember: Chapter 5 creates a temporary environment, chapter 6 is where you build the actual LFS system (which uses the sane temporary environment you build in chapter 5).

My advise: Don't start changing owners and groups by hand, too easy to overlook one or more. Start from scratch.

Hope this helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Toolchain skeeters Programming 3 12-11-2009 03:33 PM
Chap 5.2 make embryo toolchain error teraphex Linux From Scratch 2 03-21-2007 12:31 AM
about toolchain nesta Linux - Kernel 4 01-23-2007 06:30 AM
Possible Error in Book -- Adjusting Toolchain suma17 Linux From Scratch 9 10-13-2005 05:06 AM
5.9. Adjusting the Toolchain - Error Spudds Linux From Scratch 6 02-23-2005 10:22 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration