[proftpd-dfsg] 01/02: Fix #638955

Francesco Lovergine frankie at moszumanska.debian.org
Fri Jul 7 13:35:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

frankie pushed a commit to branch master
in repository proftpd-dfsg.

commit 420cbee32e2dc10ce014330f56da7e5e699a9f87
Author: Francesco Paolo Lovergine <frankie at debian.org>
Date:   Fri Jul 7 15:33:54 2017 +0200

    Fix #638955
---
 debian/proftpd-basic.postinst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/proftpd-basic.postinst b/debian/proftpd-basic.postinst
index d870e2f..3d8f196 100644
--- a/debian/proftpd-basic.postinst
+++ b/debian/proftpd-basic.postinst
@@ -169,6 +169,10 @@ if [ "$1" = "configure" ]; then
     do_update /etc/proftpd/ldap.conf
     do_update /etc/proftpd/virtuals.conf
 
+	# be safe and change permissions for .conf files where passwords should
+	# potentially be present
+	chmod 600 /etc/proftpd/sql.conf* /etc/proftpd/ldap.conf* || true
+
     # clean run files (pidfile and scoreboard)
     rm -f /run/proftpd/proftpd* /run/proftpd.pid 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-proftpd/proftpd-dfsg.git



More information about the Pkg-proftpd-maintainers mailing list