summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorskydrome2016-08-26 01:33:22 -0400
committerskydrome2016-08-26 01:33:22 -0400
commit9259c9f8f38b579efebfd6ead4a74efbe8210335 (patch)
treec2a723a43900eaa0129e9f3584548ba2b30a397f
parentc031a7d6bd50617c2c06338581f5125b519c0322 (diff)
downloadaur-9259c9f8f38b579efebfd6ead4a74efbe8210335.tar.gz
deny access to /opt/i2p
-rwxr-xr-xi2p.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/i2p.install b/i2p.install
index e375465ba0bb..be4cd1e2a537 100755
--- a/i2p.install
+++ b/i2p.install
@@ -4,13 +4,13 @@ post_install() {
useradd --system --user-group --home /opt/i2p i2p
echo "done"
}
- systemd-tmpfiles --create i2prouter.conf
- chown -R i2p:i2p /opt/i2p
+ post_upgrade
}
post_upgrade() {
systemd-tmpfiles --create i2prouter.conf
chown -R i2p:i2p /opt/i2p
+ chmod 750 /opt/i2p
}
pre_remove() {