Merge remote-tracking branch 'stevee/axel-log-fix' into axel-fixperms
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Jan 2013 17:54:44 +0000 (18:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Jan 2013 17:54:44 +0000 (18:54 +0100)
config/updxlrator/download

index 6744d9c6e956eecef14ec04ed0528b07f0b42284..8b219bcab46fc3b0c43a99e29864d9ec924934b3 100644 (file)
@@ -49,7 +49,7 @@ $vendorid =~ tr/A-Z/a-z/;
 unless (-d "$repository/download/$vendorid")
 {
        system("mkdir -p $repository/download/$vendorid");
-       system("chmod 775 $repository/download/$vendorid");
+       #system("chmod 775 $repository/download/$vendorid");
 }
 
 if($restartdl == 0)
@@ -159,13 +159,13 @@ if ($_ == 0)
        unless (-d "$repository/$vendorid")
        {
                system("mkdir -p $repository/$vendorid");
-               system("chmod 775 $repository/$vendorid");
+               #system("chmod 775 $repository/$vendorid");
        }
 
        unless (-d "$repository/$vendorid/$uuid")
        {
                system("mkdir -p $repository/$vendorid/$uuid");
-               system("chmod 775 $repository/$vendorid/$uuid");
+               #system("chmod 775 $repository/$vendorid/$uuid");
        }
 
        &writelog("Moving file to the cache directory: $vendorid/$uuid");
@@ -181,7 +181,7 @@ if ($_ == 0)
        &UPDXLT::setcachestatus("$repository/$vendorid/$uuid/access.log",time);
 
        system("/usr/local/bin/updxsetperms");
-       system("chmod 775 $repository/$vendorid/$uuid/*");
+       #system("chmod 775 $repository/$vendorid/$uuid/*");
 
        unlink ("$repository/download/$vendorid/$updatefile.info");