#149 closed defect (fixed)
install chap5 as non-root
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
may be a lot safer, less chance messing up starting distro after mounting $LFS, run "chown user.group -R $LFS" (the reader has to pick his/her own values).
then after entering chroot the first time in chapter 6, run "chown 0.0 -R /"
that should do it.
Change History (13)
comment:1 by , 23 years ago
Resolution: | → later |
---|---|
Status: | new → closed |
comment:2 by , 23 years ago
Resolution: | later |
---|---|
Status: | closed → reopened |
comment:3 by , 23 years ago
Priority: | normal → highest |
---|
comment:4 by , 23 years ago
comment:5 by , 23 years ago
the idea was to minimize potential damage done to host distro. Running chown root.root -R $LFS may fail if $LFS isn't set. Or if /mnt/lfs isn't typed properly, or for some reason somebody types -R / mnt/lfs or something stupid.
Running it inside chroot is the safest way (which again was the whole idea behind it, don't touch with root until chroot is entered)
comment:6 by , 23 years ago
Installing sh-utils:
WARNING: insufficient access; not installing su NOTE: to install su, run 'make install-root' as root
it is a nice idea... but at least sh-utils have to be installed as root (_if_ we want su in chroot, that is =)
comment:8 by , 23 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
comment:11 by , 23 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I'm not really awake today, should have closed this bug a lot earlier :o)
comment:12 by , 23 years ago
Keywords: | VERIFIED added |
---|
comment:13 by , 23 years ago
Keywords: | VERIFIED removed |
---|
hmm.. why not chown root.root -r $LFS *before* entering chroot? Will it make a difference either way? Which solution do people prefer is put in?