summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/tor/tor-0.1.0.18.ebuild')
-rw-r--r--net-misc/tor/tor-0.1.0.18.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-misc/tor/tor-0.1.0.18.ebuild b/net-misc/tor/tor-0.1.0.18.ebuild
index af4a27ec6e68..1f54354be640 100644
--- a/net-misc/tor/tor-0.1.0.18.ebuild
+++ b/net-misc/tor/tor-0.1.0.18.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.0.18.ebuild,v 1.8 2006/10/21 16:22:10 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.0.18.ebuild,v 1.9 2006/10/22 16:06:24 humpback Exp $
inherit eutils flag-o-matic
@@ -123,9 +123,9 @@ pkg_config() {
cp -Rp /var/lib/tor ${CHROOT}/var/lib/
einfo "Setting permissions..."
- chown ${USERNAME}:${USERNAME} ${CHROOT} ${CHROOT}/var/lib/tor \
+ chown root:${USERNAME} ${CHROOT} ${CHROOT}/var/lib/tor \
${CHROOT}/var/log/tor ${CHROOT}/var/run
- chmod 0700 ${CHROOT}/var/lib/tor ${CHROOT}/var/run ${CHROOT}/var/log/tor
+ chmod 0750 ${CHROOT}/var/lib/tor ${CHROOT}/var/run ${CHROOT}/var/log/tor
chmod 0444 ${CHROOT}/etc/{group,host.conf,hosts,localtime,nsswitch.conf}
chmod 0444 ${CHROOT}/etc/{passwd,resolv.conf}
chmod 0644 ${CHROOT}/etc/tor/*