[pinto] 04/05: Fixed permissions to htpasswd.users file.
Oleg Gashev
oleg at gashev.net
Thu Oct 17 21:18:49 UTC 2013
This is an automated email from the git hooks/post-receive script.
gashev-guest pushed a commit to branch master
in repository pinto.
commit d0fdd7df3332663c90fc81d9702b2845e9882be0
Author: Oleg Gashev <oleg at gashev.net>
Date: Thu Oct 17 17:11:53 2013 -0400
Fixed permissions to htpasswd.users file.
---
debian/pinto.postinst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/pinto.postinst b/debian/pinto.postinst
index 28c6fdb..3b041a9 100644
--- a/debian/pinto.postinst
+++ b/debian/pinto.postinst
@@ -52,8 +52,8 @@ if [ "$1" = configure ]; then
if [ -n "$admpass" ]; then
touch "$htpw"
echo "$admpass"|htpasswd -i "$htpw" pintoadmin
- chown pinto:pinto "$htpw"
- chown 0400 "$htpw"
+ chown pinto:pinto "$htpw"
+ chmod 0400 "$htpw"
fi
db_set pinto/adminpassword ""
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pinto.git
More information about the Pkg-perl-cvs-commits
mailing list