aboutsummaryrefslogtreecommitdiff
path: root/lib/httracker
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 23:10:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 23:10:19 -0300
commit37c85117cb13fc3b6d7be484f929fe5a3dd885c4 (patch)
treefc7f80861dcceee9483cb0131ab9b1cf028df52a /lib/httracker
parent9c94047d8c4b21b3935ee20c67487ce0c6baf468 (diff)
downloadhttruta-37c85117cb13fc3b6d7be484f929fe5a3dd885c4.tar.gz
httruta-37c85117cb13fc3b6d7be484f929fe5a3dd885c4.tar.bz2
Fixing mirror permissions
Diffstat (limited to 'lib/httracker')
-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
}