From 8f882363001447ed73107adbe4326cec02455844 Mon Sep 17 00:00:00 2001 From: Meghan Jones Date: Mon, 19 Apr 2021 15:03:42 -0400 Subject: [PATCH] Add group write permissions in build-release.sh (#5157) --- admin/build-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/build-release.sh b/admin/build-release.sh index f2569a20c55..e407fed57b0 100755 --- a/admin/build-release.sh +++ b/admin/build-release.sh @@ -183,7 +183,7 @@ if [ $do_ftp -eq 1 ]; then # Place file in pwessel SOEST ftp release directory a echo "build-release.sh: Placing gmt-${Version}-darwin-${type}.dmg on the ftp site" >&2 scp gmt-${Version}-darwin-${type}.dmg ${GMT_FTP_URL}:${GMT_FTP_DIR} fi - ssh ${USER}@${GMT_FTP_URL} "chmod og+r ${GMT_FTP_DIR}/gmt-*" + ssh ${USER}@${GMT_FTP_URL} "chmod o+r,g+rw ${GMT_FTP_DIR}/gmt-*" fi if [ $do_ftp -eq 2 ]; then # Place M1 bundle file on ftp type=$(uname -m) @@ -191,5 +191,5 @@ if [ $do_ftp -eq 2 ]; then # Place M1 bundle file on ftp echo "build-release.sh: Placing gmt-${Version}-darwin-${type}.dmg on the ftp site" >&2 scp gmt-${Version}-darwin-${type}.dmg ${GMT_FTP_URL}:${GMT_FTP_DIR} fi - ssh ${USER}@${GMT_FTP_URL} "chmod og+r ${GMT_FTP_DIR}/gmt-*" + ssh ${USER}@${GMT_FTP_URL} "chmod o+r,g+rw ${GMT_FTP_DIR}/gmt-*" fi