summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-12-25 10:19:35 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-12-25 10:19:35 +0000
commitf223aaed3c8c00976d9b22deca48dfef334d39cd (patch)
tree05221e226483acad02dab3c2fccca6941b2e6ba3 /security
parentUpdate to 0.10.1 and sort USE_PYTHON (diff)
security/tor: Allow _tor group to read tor files and directories under /var
PR: 252127 Requested by: Dries Michiels <driesm.michiels@gmail.com>
Notes
Notes: svn path=/head/; revision=559234
Diffstat (limited to 'security')
-rw-r--r--security/tor/Makefile1
-rw-r--r--security/tor/pkg-plist6
2 files changed, 4 insertions, 3 deletions
diff --git a/security/tor/Makefile b/security/tor/Makefile
index cb55cee00ce0..0a55e14983ab 100644
--- a/security/tor/Makefile
+++ b/security/tor/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tor
DISTVERSION= 0.4.4.6
+PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= TOR
diff --git a/security/tor/pkg-plist b/security/tor/pkg-plist
index 307f0ed87ac1..77c31a024c94 100644
--- a/security/tor/pkg-plist
+++ b/security/tor/pkg-plist
@@ -16,6 +16,6 @@ bin/torify
%%PORTDOCS%%%%DOCSDIR%%/torify.html
%%DATADIR%%/geoip
%%DATADIR%%/geoip6
-@dir(%%USER%%,%%GROUP%%,700) /var/run/tor
-@dir(%%USER%%,%%GROUP%%,700) /var/log/tor
-@dir(%%USER%%,%%GROUP%%,700) /var/db/tor
+@dir(%%USER%%,%%GROUP%%,750) /var/run/tor
+@dir(%%USER%%,%%GROUP%%,750) /var/log/tor
+@dir(%%USER%%,%%GROUP%%,750) /var/db/tor