mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Add question about private directories (#171)
This commit is contained in:
		
							parent
							
								
									4f9b655a5c
								
							
						
					
					
						commit
						2997a742b6
					
				@ -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?
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user