]> gitweb.fluxo.info Git - httruta.git/commitdiff
Fixing mirror permissions
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 26 Aug 2013 02:10:19 +0000 (23:10 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 26 Aug 2013 02:10:19 +0000 (23:10 -0300)
lib/httracker/functions

index 6569f4beaa102ac52c567452c3dad1bc376c39fc..dfaa0b9db7189b406e5df0f3ac62375f97baa596 100644 (file)
@@ -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
 }