[arch-commits] Commit in alertmanager/trunk (PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Tue Sep 21 19:24:47 UTC 2021


    Date: Tuesday, September 21, 2021 @ 19:24:47
  Author: jelle
Revision: 424493

Do not make data dir world readable

Fixes: FS#70144

Modified:
  alertmanager/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-21 18:56:21 UTC (rev 424492)
+++ PKGBUILD	2021-09-21 19:24:47 UTC (rev 424493)
@@ -2,7 +2,7 @@
 
 pkgname=alertmanager
 pkgver=0.23.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Service which handles alerts sent by client applications such as the Prometheus server"
 url="https://github.com/prometheus/alertmanager"
 arch=(x86_64)
@@ -52,7 +52,7 @@
   install -Dm644 examples/ha/${pkgname}.yml "${pkgdir}/etc/${pkgname}/${pkgname}.yml"
   install -d -m755 "${pkgdir}/etc/${pkgname}/template/"
 
-  install -d -m755 -o 211 -g 211 "${pkgdir}/var/lib/${pkgname}"
+  install -d -m750 -o 211 -g 211 "${pkgdir}/var/lib/${pkgname}"
 
   install -Dm0644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
   install -Dm644 "$srcdir/alertmanager.sysusers" "$pkgdir/usr/lib/sysusers.d/alertmanager.conf"



More information about the arch-commits mailing list