David D wrote:
Thank you all for your support!! It is great to count on someone when starting with such a big thing. Well, I decided to make the working dir under my home directory because what is stated on the book is to make it on */mnt/lfs*. Ok fine, but when I try to do *mkdir -pv $LFS* it says *"permission denied". *So I decided to do it where I have some read-write permissions. If I stick strictly to the book, I would be stuck even before since *sudo* is not stated on the book, at least in these commands, I don't know if further. So, what I can guess from all your answers is to stick strictly to the book and in some cases type *sudo* before the command if needed, right?? Doing this is the only way I can think of getting past this point. Go on typing *sudo* when required by permissions or whatever, althought it isn't said so on the book. Am I wrong?
There are a few commands like mount, chown, and, useradd, chroot, etc that need root permissions. In those cases using su or sudo is the right thing to do.
Be cautioned though. Once you change to the lfs user for Chapters 4-5 or enter chroot in Chapters 6-8, you should *not* use sudo or su.
-- Bruce -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
