commit:     54879ad8889c65b446e6d090ec1c855bbed22ff2
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 14 03:39:03 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Dec 14 03:39:03 2020 +0000
URL:        https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=54879ad8

etc/profile: remove umask setting

Umask should be set via shadow in /etc/login.defs or via pam.

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 etc/profile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/etc/profile b/etc/profile
index 2afd51d9..2be4622a 100644
--- a/etc/profile
+++ b/etc/profile
@@ -15,9 +15,6 @@ fi
 export EDITOR=${EDITOR:-/bin/nano}
 export PAGER=${PAGER:-/usr/bin/less}
 
-# 077 would be more secure, but 022 is generally quite realistic
-umask 022
-
 unset ROOTPATH
 
 # process *.sh files in /etc/profile.d

Reply via email to