summaryrefslogtreecommitdiff
path: root/libpiny
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2021-03-11 13:39:31 -0800
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2021-03-11 13:39:31 -0800
commit1fd72220b7adf2d9e6824c0c16772720c05a9407 (patch)
treea00fcc7d21649add4fcc0e46cfe6d09eb746c7f0 /libpiny
parent022d7502ad334707a21ce507e2c7497c3849f576 (diff)
downloadpiny-code-1fd72220b7adf2d9e6824c0c16772720c05a9407.tar.gz
piny-code-1fd72220b7adf2d9e6824c0c16772720c05a9407.zip
libpiny-perl.postinst: stop breaking shadow gid setups
Diffstat (limited to 'libpiny')
-rwxr-xr-xlibpiny/debian/libpiny-perl.postinst2
1 files changed, 1 insertions, 1 deletions
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
;;