Skip to content

Commit

Permalink
i2pd: restrict /etc/i2pd permissions
Browse files Browse the repository at this point in the history
It's not a good idea to have /etc/i2pd/*.conf world-readable since
it may contain sensitive information.
  • Loading branch information
steinex committed Mar 6, 2023
1 parent 088c196 commit 49f7337
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions srcpkgs/i2pd/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'i2pd'
pkgname=i2pd
version=2.46.0
revision=1
revision=2
build_style=gnu-makefile
make_build_args="USE_UPNP=yes"
makedepends="zlib-devel boost-devel openssl-devel miniupnpc-devel
Expand All @@ -19,7 +19,9 @@ conf_files="
/etc/i2pd/tunnels.conf"
system_accounts="_i2pd"
_i2pd_homedir="/var/lib/i2pd"
make_dirs="/var/lib/i2pd 0700 _i2pd _i2pd"
make_dirs="
/var/lib/i2pd 0700 _i2pd _i2pd
/etc/i2pd 0750 root _i2pd"

case "${XBPS_TARGET_MACHINE}" in
x86_64*) ;;
Expand Down

0 comments on commit 49f7337

Please sign in to comment.