summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-27 19:39:24 +0300
committerDevaev Maxim <[email protected]>2019-10-27 19:39:24 +0300
commitf6214191af093560d5697cd7b1ea6f245ee95b98 (patch)
tree86483c3f24c2b9482fa8645fc6e8a6d891087b88 /PKGBUILD
parentda952424ef4f4e4c3b5b33d39be564bc888d78e6 (diff)
strict permissions
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 14a4e635..cf342432 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -93,7 +93,8 @@ package_kvmd() {
mkdir -p "$pkgdir/etc/kvmd/nginx/ssl"
chmod 750 "$pkgdir/etc/kvmd/nginx/ssl"
- install -Dm644 -t "$pkgdir/etc/kvmd/nginx" "$_cfg_default/nginx"/*.conf
+ install -Dm444 -t "$pkgdir/etc/kvmd/nginx" "$_cfg_default/nginx"/*.conf
+ chmod 644 "$pkgdir/etc/kvmd/nginx/nginx.conf"
install -Dm644 -t "$pkgdir/etc/kvmd" "$_cfg_default/kvmd"/*.yaml
install -Dm600 -t "$pkgdir/etc/kvmd" "$_cfg_default/kvmd"/*passwd
@@ -143,7 +144,7 @@ for _variant in "${_variants[@]}"; do
if [[ $_platform =~ ^.*-hdmi$ ]]; then
backup=(\"\${backup[@]}\" etc/kvmd/tc358743-edid.hex)
- install -DTm644 configs/kvmd/tc358743-edid.hex \"\$pkgdir/etc/kvmd/tc358743-edid.hex\"
+ install -DTm444 configs/kvmd/tc358743-edid.hex \"\$pkgdir/etc/kvmd/tc358743-edid.hex\"
fi
}"
done