From 78adda88a10014b8354f7ced8e3032bf5e96460a Mon Sep 17 00:00:00 2001 From: tdro Date: Thu, 6 May 2021 02:12:54 -0400 Subject: .bash_profile: Ensure umask --- .bash_profile | 3 +++ 1 file changed, 3 insertions(+) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index d627809..e5144f0 100644 --- a/.bash_profile +++ b/.bash_profile @@ -19,6 +19,9 @@ export XAUTHORITY=$HOME/.config/X11/Xauthority; -configdir "$HOME/.config/X11/xorg.conf.d" \ -logfile "$HOME/.cache/xorg.log" vt1 -keeptty -auth "$XAUTHORITY"; +# set umask +umask 0022; + # set prompt PS1_USER='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;34m\]\W\[\e[0m\] \[\e[0;34m\]\$\[\e[0m\] ' PS1_ROOT='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;31m\]\W\[\e[0m\] \[\e[0;31m\]\$\[\e[0m\] ' -- cgit v1.2.3