1
0
Fork 0
mirror of synced 2024-12-13 02:45:45 -05:00

Fix a known bug with hidden private files

This commit is contained in:
Tim Byrne 2019-09-29 18:33:41 -05:00
parent 36212cb752
commit 3ba17f41fd
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

4
yadm
View file

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