From: Martin Mares Date: Mon, 17 Feb 2025 17:35:25 +0000 (+0100) Subject: Debian: Bring chown syntax to the 21st century X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;p=subauth.git Debian: Bring chown syntax to the 21st century --- diff --git a/debian/subauthd.postinst b/debian/subauthd.postinst index b9c2d96..001746e 100644 --- a/debian/subauthd.postinst +++ b/debian/subauthd.postinst @@ -4,7 +4,7 @@ if [ "$1" = configure ] ; then if ! getent passwd subauthd >/dev/null ; then adduser --system --group --disabled-login --home /nonexistent --no-create-home --gecos 'Sub-authentication daemon' subauthd fi - chown subauthd.subauthd /var/lib/subauthd + chown subauthd:subauthd /var/lib/subauthd chmod 700 /var/lib/subauthd fi