From f6770602efc02d2837ef03c16a5559bfd8b9780d Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Tue, 13 Aug 2019 12:55:26 +0200 Subject: [PATCH] fix maintainer-script-should-not-use-recursive-chown-or-chmod --- debian/cacert-boardvoting.postinst | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/cacert-boardvoting.postinst b/debian/cacert-boardvoting.postinst index 8d9c5fb..2efcdd8 100644 --- a/debian/cacert-boardvoting.postinst +++ b/debian/cacert-boardvoting.postinst @@ -11,7 +11,7 @@ case "$1" in adduser --system --quiet --home /srv/cacert-boardvoting cacert-boardvoting DATADIR=/srv/cacert-boardvoting/data if [ -d "${DATADIR}" ]; then - chown -R cacert-boardvoting "${DATADIR}" + chown cacert-boardvoting "${DATADIR}" else install -d --owner cacert-boardvoting --mode 0700 "${DATADIR}" fi diff --git a/debian/changelog b/debian/changelog index ee8a596..b0f0c4b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ cacert-boardvoting (0.6.0-2) UNRELEASED; urgency=medium * update for Debian buster * update to debhelper 12 * use /usr/share/dpkg/pkg-info.mk + * fix maintainer-script-should-not-use-recursive-chown-or-chmod -- Jan Dittberner Mon, 12 Aug 2019 19:57:13 +0200