Skip to content

Commit

Permalink
Update download-latest-java-tomcat.cfm
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Aug 14, 2024
1 parent 92c7896 commit bc30998
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion download-latest-java-tomcat.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,19 @@
directoryDelete( tmpDest, true );
}
// lucee ignores permissions when extracting files
function applyPermissions( src, dest ){
var files = directoryList( path="tgz://" & src, recurse=true, listinfo="query");
var dir ="";
var file = "";
systemOutput( files.columnlist, true );
loop query="files"{
dir = mid(files.directory, find( "!", files.directory) + 1 );
dir = mid(files.directory, find( "!", files.directory) + 2 );
systemOutput( "#dir# #files.name# #files.size# #files.type# #files.mode#", true );
file = arguments.dest & dir & files.name;
systemOutput( file );
fileSetAccessMode(file , files.mode );
systemOutput( fileInfo( file ).mode, true );
}
throw "stop!";
Expand Down

0 comments on commit bc30998

Please sign in to comment.