From 79ac70653d5432eb6db3153ed6754de050a7c291 Mon Sep 17 00:00:00 2001 From: Tim Kimber Date: Thu, 7 Jan 2021 21:54:16 +0000 Subject: [PATCH] Add chmod to ftp command --- getssl | 1 + 1 file changed, 1 insertion(+) diff --git a/getssl b/getssl index 4ca7f1b..9a42b28 100755 --- a/getssl +++ b/getssl @@ -859,6 +859,7 @@ copy_file_to_location() { # copies a file, using scp, sftp or ftp if required. cd $ftpdirn lcd $fromdir put ./$fromfile + chmod 644 $fromfile _EOF elif [[ "${to:0:5}" == "sftp:" ]] ; then debug "using sftp to copy the file from $from"