From 2997a742b630afb8226a9da972b3f3bca75b0d71 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Mon, 16 Dec 2019 22:23:16 -0600 Subject: [PATCH] Add question about private directories (#171) --- _docs/110_faq.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/_docs/110_faq.md b/_docs/110_faq.md index e0a2099..91e9c01 100644 --- a/_docs/110_faq.md +++ b/_docs/110_faq.md @@ -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?