-
Hi, I've added font files to a
Fonts already exist on my system and folder permissions are OS defaults. Any idea or workaround to remove this discrepancy without changing folder permissions?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is occurring because the directories The fix is to tell chezmoi to manage the directories explicitly. This can be done with: $ chezmoi add --recursive=false ~/Library ~/Library/Fonts You'll likely need to add $ touch $(chezmoi source-path ~/Library/Fonts)/.keep |
Beta Was this translation helpful? Give feedback.
This is occurring because the directories
~/Library
and~/Library/Fonts
are implicitly created by.chezmoiexternal
and implicitly created directories have default (i.e. non-private permissions).The fix is to tell chezmoi to manage the directories explicitly. This can be done with:
$ chezmoi add --recursive=false ~/Library ~/Library/Fonts
You'll likely need to add
.keep
file to the directory in the source state, otherwise git will ignore it:$ touch $(chezmoi source-path ~/Library/Fonts)/.keep