Fix a known bug with hidden private files
This commit is contained in:
parent
36212cb752
commit
3ba17f41fd
1 changed files with 2 additions and 2 deletions
4
yadm
4
yadm
|
@ -985,12 +985,12 @@ function perms() {
|
||||||
|
|
||||||
# include all .ssh files (unless disabled)
|
# include all .ssh files (unless disabled)
|
||||||
if [[ $(config --bool yadm.ssh-perms) != "false" ]] ; then
|
if [[ $(config --bool yadm.ssh-perms) != "false" ]] ; then
|
||||||
GLOBS+=(".ssh" ".ssh/*")
|
GLOBS+=(".ssh" ".ssh/*" ".ssh/.*")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# include all gpg files (unless disabled)
|
# include all gpg files (unless disabled)
|
||||||
if [[ $(config --bool yadm.gpg-perms) != "false" ]] ; then
|
if [[ $(config --bool yadm.gpg-perms) != "false" ]] ; then
|
||||||
GLOBS+=(".gnupg" ".gnupg/*")
|
GLOBS+=(".gnupg" ".gnupg/*" ".gnupg/.*")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# include any files we encrypt
|
# include any files we encrypt
|
||||||
|
|
Loading…
Reference in a new issue