diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-16 13:54:27 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-16 13:54:27 +0000 |
commit | 4b3ac5083d33ef4ee6b1f9784e196cfb1717c8d1 (patch) | |
tree | a92ee3aa686394cfbd1f43100c103dbb3624b022 /chapter06/coreutils.xml | |
parent | 9c73bc302240efec59a1dfb5d24d0fefb3412c96 (diff) |
Fix permissions of files that have been edited inline by sed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3801 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r-- | chapter06/coreutils.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 984981273..7437cd451 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -73,7 +73,8 @@ user:</para> <para>When you're done testing, remove the dummy user and groups:</para> -<screen><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen> +<screen><userinput>sed -i '/dummy/d' /etc/passwd /etc/group +chmod 644 /etc/passwd /etc/group</userinput></screen> <para>Install the package:</para> |