Update permissions on the actual .ssh directory too

This commit is contained in:
Tim Byrne 2015-07-16 17:11:29 -05:00
parent a403128b88
commit 5c0237c4b6
1 changed files with 1 additions and 1 deletions

2
yadm
View File

@ -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)