summaryrefslogtreecommitdiff
path: root/libpiny/debian/libpiny-perl.postinst
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2014-03-16 21:21:07 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2014-03-16 21:21:07 -0700
commita085af9d2f01ca380bd827d7e20a72b223c8935d (patch)
treeb4059566188864e9f1f1b4d5c306ecab1a06d5a3 /libpiny/debian/libpiny-perl.postinst
parenta26421a98e3336d447a5656bf9ae262b1de4d42f (diff)
downloadpiny-code-a085af9d2f01ca380bd827d7e20a72b223c8935d.tar.gz
piny-code-a085af9d2f01ca380bd827d7e20a72b223c8935d.zip
libpiny.key should be owned by www-data, not shadow
Diffstat (limited to 'libpiny/debian/libpiny-perl.postinst')
-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 85cca0c..768daa8 100755
--- a/libpiny/debian/libpiny-perl.postinst
+++ b/libpiny/debian/libpiny-perl.postinst
@@ -10,7 +10,7 @@ case "$1" in
umask 0137
dd if=/dev/urandom of=/etc/libpiny.key bs=512 count=1
fi
- chgrp shadow /etc/libpiny.key
+ chgrp www-data /etc/libpiny.key
chmod g+r /etc/libpiny.key # Updating an old umask
;;