Changeset 21ba4e3 for chapter06/creatingdirs.xml
- Timestamp:
- 10/09/2003 11:22:07 PM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 27d9bc1a
- Parents:
- 1a7aecc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/creatingdirs.xml
r1a7aecc6 r21ba4e3 7 7 standard tree:</para> 8 8 9 < para><screen><userinput>mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc}9 <screen><userinput>mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc} 10 10 mkdir -p /{root,sbin,tmp,usr/local,var,opt} 11 11 for dirname in /usr /usr/local … … 20 20 mkdir -p /var/{tmp,opt,cache,lib/misc,local} 21 21 mkdir /opt/{bin,doc,include,info} 22 mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> </para>22 mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> 23 23 24 24 <para>Directories are, by default, created with permission mode 755, but this … … 26 26 directory of root, and another to the directories for temporary files.</para> 27 27 28 < para><screen><userinput>chmod 0750 /root29 chmod 1777 /tmp /var/tmp</userinput></screen> </para>28 <screen><userinput>chmod 0750 /root 29 chmod 1777 /tmp /var/tmp</userinput></screen> 30 30 31 31 <para>The first mode change ensures that not just anybody can enter the
Note:
See TracChangeset
for help on using the changeset viewer.