From d5443a34ea50cc02cfd9b4c92cd116b69f714457 Mon Sep 17 00:00:00 2001 From: kytv <kytv@mail.i2p> Date: Sun, 31 Mar 2013 12:47:53 +0000 Subject: [PATCH] Debian: explicitly set permissions in postinst on /etc/i2p/wrapper.config (fixes #906) --- debian/i2p.postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/i2p.postinst b/debian/i2p.postinst index c5b5489031..dca27ccd24 100755 --- a/debian/i2p.postinst +++ b/debian/i2p.postinst @@ -60,6 +60,7 @@ case "$1" in sed -e "s/^ *wrapper\.java\.maxmemory=.*/wrapper\.java\.maxmemory=$MEMORYLIMIT/" \ < /etc/i2p/wrapper.config > /etc/i2p/wrapper.config.tmp mv -f /etc/i2p/wrapper.config.tmp /etc/i2p/wrapper.config + chmod 0644 -f /etc/i2p/wrapper.config # Older versions of adduser created the home directory. # The version of adduser in Debian unstable does not. -- GitLab