From 5c0237c4b683395a72687b03032b7225b313e43b Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Thu, 16 Jul 2015 17:11:29 -0500 Subject: [PATCH] Update permissions on the actual .ssh directory too --- yadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yadm b/yadm index ed28e94..c8e5ed4 100755 --- a/yadm +++ b/yadm @@ -331,7 +331,7 @@ function perms() { #; include all .ssh files (unless disabled) if [[ $(config --bool yadm.ssh-perms) != "false" ]] ; then - GLOBS=("${GLOBS[@]}" $(eval /bin/ls ".ssh/*" 2>/dev/null)) + GLOBS=("${GLOBS[@]}" ".ssh" ".ssh/*") fi #; include globs found in YADM_ENCRYPT (if present)