commit | 2c6427982659ed530be6f10c5f22aeaf25e4874f | [log] [tgz] |
---|---|---|
author | Anil Altinay <aaltinay@google.com> | Sat Feb 26 01:38:42 2022 +0000 |
committer | Anil Altinay <aaltinay@google.com> | Sat Feb 26 01:47:58 2022 +0000 |
tree | ee6b271f5d60442e85e53694c3b64810ba6c1729 | |
parent | 864a3dda5b86e25e537ff2d8f42f447377ff065a [diff] |
compliance: Fix "ambiguous redirect" error that occurs in GKE node BUG=b/221502541 TEST=locally tested RELEASE_NOTE=None Change-Id: I92a18a96d0176a66d8ecb284b8fe9a7191cc9d50
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