1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 03:59:17 +00:00

adding chmod_on_import option for #324

This commit is contained in:
deadc0de6
2021-10-10 14:21:49 +02:00
parent 06e9cde0be
commit bc8346d7cb
5 changed files with 42 additions and 4 deletions

View File

@@ -86,7 +86,8 @@ dotfiles:
On `import`, the following rules are applied:
* If the `-m`/`--preserve-mode` switch is provided, the imported file's permissions are
* If the `-m`/`--preserve-mode` switch is provided or the config option
`chmod_on_import` is true, the imported file's permissions are
stored in a `chmod` entry
* If the imported file's permissions differ from the umask, then the permissions are automatically
stored in the `chmod` entry.