tor: fix permissions.
[people/teissler/ipfire-2.x.git] / lfs / tor
diff --git a/lfs/tor b/lfs/tor
index a61ac400f1ee53c573ff7533100eadc757bc4597..8bce4be8f1541692cf9d44646e4641406de48b2b 100644 (file)
--- a/lfs/tor
+++ b/lfs/tor
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2013   IPFire Team   <info@ipfire.org>                   #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -95,7 +95,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        ln -svf /var/ipfire/tor/torrc /etc/tor/torrc
 
        # Adjust ownerships.
-       chown nobody:nobody /var/lib/tor /var/ipfire/tor
+       chown -R nobody:nobody /var/lib/tor /var/ipfire/tor
 
        # Logrotate
        mkdir -pv /etc/logrotate.d