From 9505db13f5db4a7b73d6fe0d6435ed69fb375d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Tue, 11 Jun 2013 12:26:55 -0300 Subject: opendnssec: secure data dirs --- pcr/opendnssec/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'pcr/opendnssec') diff --git a/pcr/opendnssec/PKGBUILD b/pcr/opendnssec/PKGBUILD index 1810d94a1..065a1ec68 100644 --- a/pcr/opendnssec/PKGBUILD +++ b/pcr/opendnssec/PKGBUILD @@ -2,7 +2,7 @@ pkgname=opendnssec pkgver=1.4.0 -pkgrel=2 +pkgrel=3 pkgdesc="Turn-key solution for DNSSEC (sqlite3)" arch=('i686' 'x86_64' 'mips64el') url="http://www.opendnssec.org/" @@ -68,7 +68,10 @@ package() { install -Dm0644 "enforcer/utils/migrate_adapters_1.sqlite3" \ "${pkgdir}/usr/share/opendnssec" - chown 227:227 "${pkgdir}/etc/opendnssec" -R - chown 227:227 "${pkgdir}/var/lib/opendnssec" -R - chown 227:227 "${pkgdir}/var/run/opendnssec" -R + chown -R 227:227 "${pkgdir}/etc/opendnssec" \ + "${pkgdir}/var/lib/opendnssec" \ + "${pkgdir}/var/run/opendnssec" + chmod 750 "${pkgdir}/etc/opendnssec" \ + "${pkgdir}/var/lib/opendnssec" \ + "${pkgdir}/var/run/opendnssec" } -- cgit v1.2.3-2-g168b