# HG changeset patch # User Meredith Howard # Date 1497366077 14400 # Node ID 177dfb2889ab7e8cb2c067ffff3b6c6a0d74cdc9 # Parent 042360ae89bb350afb20232c59e544af7d9c6084 explicit chmod diff --git a/.profile.common b/.profile.common --- a/.profile.common +++ b/.profile.common @@ -2,8 +2,10 @@ umask 027 -make -s -C ~/.ssh || - cat ~/.ssh/config.d/* > ~/.ssh/config +make -s -C ~/.ssh || { + cat ~/.ssh/config.d/* > ~/.ssh/config && + chmod 600 $_ +} export EDITOR=vim export SUDO_EDITOR=$HOME/bin/privim diff --git a/.ssh/Makefile b/.ssh/Makefile --- a/.ssh/Makefile +++ b/.ssh/Makefile @@ -2,7 +2,7 @@ # config.d/10-base to config and add an Include config.d/* config: config.d/* - umask 277 && cat config.d/* > $@ + cat config.d/* > $@ && chmod 600 $@ clean: rm -f config