From 1fd72220b7adf2d9e6824c0c16772720c05a9407 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Thu, 11 Mar 2021 13:39:31 -0800 Subject: libpiny-perl.postinst: stop breaking shadow gid setups --- libpiny/debian/libpiny-perl.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpiny/debian/libpiny-perl.postinst') diff --git a/libpiny/debian/libpiny-perl.postinst b/libpiny/debian/libpiny-perl.postinst index 768daa8..6515819 100755 --- a/libpiny/debian/libpiny-perl.postinst +++ b/libpiny/debian/libpiny-perl.postinst @@ -9,8 +9,8 @@ case "$1" in if [ ! -f /etc/libpiny.key ]; then umask 0137 dd if=/dev/urandom of=/etc/libpiny.key bs=512 count=1 + chgrp www-data /etc/libpiny.key fi - chgrp www-data /etc/libpiny.key chmod g+r /etc/libpiny.key # Updating an old umask ;; -- cgit v1.2.3