From 3944510e8b4c8200f592756c0bdc2002f9f268bc Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Wed, 14 Aug 2024 10:56:05 +0200 Subject: [PATCH] try setting directory permissions too --- download-latest-java-tomcat.cfm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/download-latest-java-tomcat.cfm b/download-latest-java-tomcat.cfm index 19efa88..4850e3e 100644 --- a/download-latest-java-tomcat.cfm +++ b/download-latest-java-tomcat.cfm @@ -78,9 +78,9 @@ loop query="files" { dir = mid(files.directory, find( "!", files.directory) + 2 ); - if ( files.mode != "644" ) - systemOutput( "#dir# #files.name# #files.size# #files.type# #files.mode#", true ); - if ( files.type == "file" ){ + //if ( files.mode != "644" ) + // systemOutput( "#dir# #files.name# #files.size# #files.type# #files.mode#", true ); + //if ( files.type == "file" ){ file = arguments.dest & mid( dir, 2 ) & "/" & files.name; // systemOutput( file, true ); //systemOutput( fileExists( file ), true ); @@ -88,7 +88,7 @@ if ( fileInfo( file ).mode != files.mode) { throw "#File# is #fileInfo( file ).mode# should be #files.mode#"; } - } + //} } }