From 3ba17f41fd8d6088532fe7a3e94c5bd293ed719a Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Sun, 29 Sep 2019 18:33:41 -0500 Subject: [PATCH] Fix a known bug with hidden private files --- yadm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yadm b/yadm index f7cab19..fda4453 100755 --- a/yadm +++ b/yadm @@ -985,12 +985,12 @@ function perms() { # include all .ssh files (unless disabled) if [[ $(config --bool yadm.ssh-perms) != "false" ]] ; then - GLOBS+=(".ssh" ".ssh/*") + GLOBS+=(".ssh" ".ssh/*" ".ssh/.*") fi # include all gpg files (unless disabled) if [[ $(config --bool yadm.gpg-perms) != "false" ]] ; then - GLOBS+=(".gnupg" ".gnupg/*") + GLOBS+=(".gnupg" ".gnupg/*" ".gnupg/.*") fi # include any files we encrypt