diff --git a/debian/i2p.postinst b/debian/i2p.postinst
index c5b54890312368a25a733500109e624ac8d947bc..dca27ccd245e0182819fc3b87b532f0a6625c091 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.