Mark Devaney wrote:
> A quick thought, and I apologize if this has been discussed already
> but I was not able to find any previous mention of this issue.
>
> Section 6.5 (LFS 7.2)  says "Directories are, by default, created with
> permission mode 755" - this is only true if root umask is set
> appropriately (022).   It would be useful to highlight this fact as
> not all distros default to 022 for root umask.
>
> The issues caused by a more restrictive umask are only evident in some
> of the package tests that occur much later in the install.

It does seem that root's umask is propagated through the call to chroot. 
  We probably do need to address the corner case when the root user's 
umask is not 022 in Section 6.5.

Note that we currently address this for the lfs user in Section 4.4 and 
in BLFS in setting /etc/profile.d/umask.sh.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to