Add question about private directories (#171)

This commit is contained in:
Tim Byrne 2019-12-16 22:23:16 -06:00
parent 4f9b655a5c
commit 2997a742b6
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 16 additions and 0 deletions

View File

@ -159,6 +159,22 @@ https://github.com/TheLocehiliosan/yadm/commits/git-crypt-support
https://github.com/TheLocehiliosan/yadm/commit/efb7fd16612fe650b1286f0c696696f412772ab3
) in the commit messages of that branch for details.
## Directory Creation
### Why are `.ssh` or `.gnupg` directories being created by yadm?
yadm is often used to track private data used by SSH and GnuPG. Because of this,
these directories are created with restricted permissions prior to Git
operations that could write data to those directories. This is to better protect
that sensitive data.
If you want to disable that feature, you can set the `auto-private-dirs`
configuration by running:
```
yadm config yadm.auto-private-dirs false
```
## Unconventional Cases
### Can I use yadm to track system level files?