1
0
Fork 0
mirror of synced 2024-07-01 19:01:09 -04:00

Compare commits

...

3 commits

Author SHA1 Message Date
Tin Lai 4436466293
Merge b4e76f2ad3 into 76ce3defea 2023-10-20 13:55:04 +00:00
Tin Lai b4e76f2ad3
template ro removes write permission for all
Signed-off-by: Tin Lai <oscar@tinyiu.com>
2023-06-06 09:23:20 +10:00
Tin Lai 79043cb4e5 add config for yadm to create read-only template output
Signed-off-by: Tin Lai <oscar@tinyiu.com>
2023-05-29 14:32:37 +10:00

1
yadm
View file

@ -540,6 +540,7 @@ function move_file() {
mv -f "$temp_file" "$output"
copy_perms "$input" "$output"
[ "$(config --bool yadm.template-read-only)" == "true" ] && chmod a-w "$output"
}
# ****** yadm Commands ******