From efd49ae1788a4727b9bf6543a2fdea722d470365 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Thu, 23 Aug 2001 14:33:58 +0000 Subject: Bug 130: set umask to 022 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1008 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter03/creatingdirs.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'chapter03/creatingdirs.xml') diff --git a/chapter03/creatingdirs.xml b/chapter03/creatingdirs.xml index a37be20bd..f60101786 100644 --- a/chapter03/creatingdirs.xml +++ b/chapter03/creatingdirs.xml @@ -1,7 +1,18 @@ Creating directories -Let's create the directory tree on the LFS partition based on the FHS +Before we start creating directories, we need to check the base +system's umask setting. To do this, we run +umask. The result should be 022. If it isn't, +then run the following command to ensure that the directories will be +created with the correct permissions: + +umask 022 + +We would advise you to make sure that the umask is set to 022 +throughout your LFS install. + +Let's now create the directory tree on the LFS partition based on the FHS standard, which can be found at http://www.pathname.com/fhs/. Issuing the following commands will create a default directory layout: -- cgit v1.2.3-54-g00ecf