From d7669f22562d739804a3ff80e3e6adcc04c11123 Mon Sep 17 00:00:00 2001 From: Tin Lai Date: Tue, 6 Jun 2023 09:23:20 +1000 Subject: [PATCH] template ro removes write permission for all Signed-off-by: Tin Lai --- yadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yadm b/yadm index 2a4e1c1..a41dfef 100755 --- a/yadm +++ b/yadm @@ -540,7 +540,7 @@ function move_file() { mv -f "$temp_file" "$output" copy_perms "$input" "$output" - [ "$(config --bool yadm.template-read-only)" == "true" ] && chmod -w "$output" + [ "$(config --bool yadm.template-read-only)" == "true" ] && chmod a-w "$output" } # ****** yadm Commands ******