aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/httracker/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions
index 6569f4b..dfaa0b9 100644
--- a/lib/httracker/functions
+++ b/lib/httracker/functions
@@ -104,6 +104,7 @@ function httracker_setup_folders {
mkdir -p $MIRRORS $TMP
if [ "`whoami`" == "root" ]; then
+ chown -R $USER.$GROUP $MIRRORS
chown -R $USER.$GROUP $TMP
fi
}