From: Stefan Schantl Date: Wed, 19 Dec 2012 19:47:07 +0000 (+0100) Subject: updxlerator: Disable call of chmod on downloader. X-Git-Tag: v2.13-rc1~20^2 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=68e2d326edb9c8b514a47f6744bfda4484cb0004 updxlerator: Disable call of chmod on downloader. Disable the call of chmod after downloading a file. This is not woking because of different owner's and only flushes the log files. Fixes #10088. --- diff --git a/config/updxlrator/download b/config/updxlrator/download index 6744d9c6e9..8b219bcab4 100644 --- a/config/updxlrator/download +++ b/config/updxlrator/download @@ -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");