template ro removes write permission for all
Signed-off-by: Tin Lai <oscar@tinyiu.com>
This commit is contained in:
parent
4f8554ba29
commit
d7669f2256
1 changed files with 1 additions and 1 deletions
2
yadm
2
yadm
|
@ -540,7 +540,7 @@ function move_file() {
|
||||||
|
|
||||||
mv -f "$temp_file" "$output"
|
mv -f "$temp_file" "$output"
|
||||||
copy_perms "$input" "$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 ******
|
# ****** yadm Commands ******
|
||||||
|
|
Loading…
Reference in a new issue