commit | 64642f1ad24998831190dac063d2a94d59a78bc6 | [log] [tgz] |
---|---|---|
author | Anil Altinay <aaltinay@google.com> | Sat Feb 26 01:38:42 2022 +0000 |
committer | Anil Altinay <aaltinay@google.com> | Mon Feb 28 07:25:12 2022 +0000 |
tree | d9571552c3f3f032f99087520b7409cbba3f43dd | |
parent | 62709a8e3ccb3275da1520ad1749c3529a194ef9 [diff] |
compliance: Fix "ambiguous redirect" error that occurs in GKE node BUG=b/221502541 TEST=locally tested RELEASE_NOTE=None cos-patch: bug Change-Id: I92a18a96d0176a66d8ecb284b8fe9a7191cc9d50 (cherry picked from commit 2c6427982659ed530be6f10c5f22aeaf25e4874f)
diff --git a/alphabet-compliance/scripts/5440-configure-default-user-umask.sh b/alphabet-compliance/scripts/5440-configure-default-user-umask.sh index 7b9cd85..555bf64 100644 --- a/alphabet-compliance/scripts/5440-configure-default-user-umask.sh +++ b/alphabet-compliance/scripts/5440-configure-default-user-umask.sh
@@ -15,5 +15,5 @@ ## Section: 5.4.4 Ensure default user umask is 027 or more restrictive ## sed -i 's/^umask .*$/umask 027/' /etc/profile -echo "umask 027" >> /etc/profile.d/* +echo "umask 027" | tee -a /etc/profile.d/* echo "umask 027" >> /etc/bash/bashrc