From 7edec3a7a7a2c8e5a8b870113c1dd52e0b193f45 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Wed, 9 Feb 2022 18:02:08 +0100 Subject: [PATCH] [ssh] use dotbot for chmodding ./ssh/config This changes the place to do so from what was introduced in b553944b --- .install.conf.yaml | 1 + install.sh | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.install.conf.yaml b/.install.conf.yaml index c74cf68..8a10d85 100644 --- a/.install.conf.yaml +++ b/.install.conf.yaml @@ -42,4 +42,5 @@ command: ./bin/Xresources-preprocess description: Preprocess Xresources.src so that xrdb doesn't have to. stderr: true + - [chmod 600 ./ssh/config, Ensure ./ssh/config only read/writable for owner] # - git submodules update # after linking ~/.gitconfig diff --git a/install.sh b/install.sh index 070ab92..e27aea9 100755 --- a/install.sh +++ b/install.sh @@ -13,7 +13,3 @@ git pull || echo "Pulling from remote failed" git submodule update --init --recursive "${DOTBOT_DIR}" "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" - - -# Make sure ssh/config is only read/writable for owner -chmod 600 ssh/config