Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#362 closed defect (invalid)

should we give up the lfs user bit now that we use $LFS/static in ch-5

Reported by: iwanek@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

now that all the stuff in ch-5 uses $LFS/static the reason why we make software as a non root user is no longer valid - it would be easier to make the ch5 stuff as root again - takes some commands out of the book and makes life a bit easier for all... and there is no longer a risk of trashing your system or am i way off on this one?


Jay

Change History (1)

comment:1 by gerard@…, 22 years ago

Resolution: invalid
Status: newclosed

You can still trash your systme if you make a simple type in --prefix=something option.

Suppose you make a simple typo like:

--prefix=$LFS/ static

And when the $LFS variable isn't set, then prefix will be equal to / - bad thing to do.

We don't want to do anything as user root when in chapter 5 other than absolutely necessary things. It simply helps against making silly mistakes.

Sure, you can still trash your system by running chapter 6 commands and forgot ot enter chroot (i've done it when I ran the chown -R / commannd...I was wondering why I took so long, then realized I was outside of chroot).

Anywyas...mistakes can still be made but we try to minimize them.

Note: See TracTickets for help on using tickets.