forked from I2P_Developers/i2p.i2p
Debian: explicitly set permissions in postinst on /etc/i2p/wrapper.config (fixes #906)
This commit is contained in:
1
debian/i2p.postinst
vendored
1
debian/i2p.postinst
vendored
@@ -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.
|
||||
|
Reference in New Issue
Block a user