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?
Thanks again. 2016-12-18 10:17 GMT+01:00 David D <[email protected]>: > Hello everyone, this is my very first message on a mailing list so please > excuse me if something wrong. > I searched through archive and couldn't find an answer maybe because it is > a very silly issue, but it is keeping me stuck here. > > I created my working dir under my* /home/david* directory. In fact, my > $LFS variable is set to* /home/david/lfs* as far as I can see with *echo > $LFS*. > > When I try to mount it with *mount -v -t ext4 /dev/sda7 $LFS *it says > that only *root *can use -types. Ok, I remove the type and it keeps > complaining about that only *root *can do that. > > > *mount -v -t ext4 /dev/sda7 $LFSmount: solo root puede usar la opción > «-typ*es» > > > *mount -v /dev/sda7 $LFSmount: solo root puede hace eso* > > Of couruse I can type *sudo mount -v -t ext4 /dev/sda7 $LFS *but root > will take ownership of the */home/david/lfs *directory and forces me to > type *sudo* before any command beyond chapter 2.7 to work inside that > directory*.* > > > > > > *-rw-r--r-- 1 david david 8980 nov 22 23:45 examples.desktopdrwxr-xr-x > 2 david david 4096 nov 23 00:47 Imágenesdrwxrwxr-x 2 david david 4096 > dic 16 17:31 lfs-rw-rw-r-- 1 david david 167 dic 15 16:37 > library-check.shdrwxr-xr-x 2 david david 4096 nov 23 00:47 Música* > > > > > > *-rw-r--r-- 1 david david 8980 nov 22 23:45 examples.desktopdrwxr-xr-x > 2 david david 4096 nov 23 00:47 Imágenesdrwxr-xr-x 3 root root 4096 > dic 16 17:26 lfs-rw-rw-r-- 1 david david 167 dic 15 16:37 > library-check.shdrwxr-xr-x 2 david david 4096 nov 23 00:47 Músi*ca > > I can also do *sudo su *and work with that user but it hasn't the $LFS > variable set (I don't know how to do that in *.bashrc*, I set it for user > *david > *with that method, but can't set it for *root*) > > Now I wonder if I should try to fix it and make user *david* able to > mount from command line or I should take the *sudo *way. If I choose the *sudo > *way, will it have some impact further in the book? Having that folder > owned by *root* instead of *david* could cause some issue further in the > book? > > Thanks a lot!! > > > > > > > > > > >
-- 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
