mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Bug 130: set umask to 022
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1008 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
9d4ff0ea4f
commit
efd49ae178
@ -1,7 +1,18 @@
|
||||
<sect1 id="ch04-creatingdirs">
|
||||
<title>Creating directories</title>
|
||||
|
||||
<para>Let's create the directory tree on the LFS partition based on the FHS
|
||||
<para>Before we start creating directories, we need to check the base
|
||||
system's umask setting. To do this, we run
|
||||
<userinput>umask</userinput>. 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:</para>
|
||||
|
||||
<para><screen><userinput>umask 022</userinput></screen></para>
|
||||
|
||||
<para>We would advise you to make sure that the umask is set to 022
|
||||
throughout your LFS install.</para>
|
||||
|
||||
<para>Let's now create the directory tree on the LFS partition based on the FHS
|
||||
standard, which can be found at <ulink
|
||||
url="http://www.pathname.com/fhs/">http://www.pathname.com/fhs/</ulink>.
|
||||
Issuing the following commands will create a default directory layout:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user