diff options
author | jrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org> | 2011-04-20 23:15:07 -0700 |
---|---|---|
committer | jrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org> | 2011-04-20 23:15:07 -0700 |
commit | a1a447406787efa2567b403334eb0031a7c45ad2 (patch) | |
tree | aa3899c1a6c64a25163b8871cc85a3cecb284886 | |
parent | 21ce0c72ea0852171f0009137358eda3a6c84517 (diff) | |
download | piny-code-a1a447406787efa2567b403334eb0031a7c45ad2.tar.gz piny-code-a1a447406787efa2567b403334eb0031a7c45ad2.zip |
Make libpiny.key readable by www-data
-rwxr-xr-x | libpiny/debian/libpiny-perl.postinst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpiny/debian/libpiny-perl.postinst b/libpiny/debian/libpiny-perl.postinst index 065289a..aa38007 100755 --- a/libpiny/debian/libpiny-perl.postinst +++ b/libpiny/debian/libpiny-perl.postinst @@ -7,8 +7,9 @@ case "$1" in configure) if [ ! -f /etc/libpiny.key ]; then - umask 0177 + umask 0137 dd if=/dev/urandom of=/etc/libpiny.key bs=512 count=1 + chgrp www-data /etc/libpiny.key fi ;; |