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 ******