Jeremy Huntwork wrote these words on 07/27/05 19:01 CST: > I recall that early in chapter 6 there was a change to 'install -d' over > 'mkdir' for the Create Directories section though I can't remember the > reason behind that particular change. I don't suppose it would hurt to > change out the rest of the 'mkdir's in the book to 'install -d's too.
The biggest reason to use install -d instead of mkdir is that using the install -d command allows you to also place a -m755 (or whatever mode you wish) on the command. This creates directories with the desired permissions, unlike mkdir which creates the directory using permissions derived from the user's umask. -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 19:10:00 up 116 days, 18:43, 2 users, load average: 1.43, 1.05, 0.57 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page