Skip to content

Commit 8f88236

Browse files
author
Meghan Jones
authored
Add group write permissions in build-release.sh (#5157)
1 parent a76253d commit 8f88236

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/build-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ if [ $do_ftp -eq 1 ]; then # Place file in pwessel SOEST ftp release directory a
183183
echo "build-release.sh: Placing gmt-${Version}-darwin-${type}.dmg on the ftp site" >&2
184184
scp gmt-${Version}-darwin-${type}.dmg ${GMT_FTP_URL}:${GMT_FTP_DIR}
185185
fi
186-
ssh ${USER}@${GMT_FTP_URL} "chmod og+r ${GMT_FTP_DIR}/gmt-*"
186+
ssh ${USER}@${GMT_FTP_URL} "chmod o+r,g+rw ${GMT_FTP_DIR}/gmt-*"
187187
fi
188188
if [ $do_ftp -eq 2 ]; then # Place M1 bundle file on ftp
189189
type=$(uname -m)
190190
if [ -f gmt-${Version}-darwin-${type}.dmg ]; then
191191
echo "build-release.sh: Placing gmt-${Version}-darwin-${type}.dmg on the ftp site" >&2
192192
scp gmt-${Version}-darwin-${type}.dmg ${GMT_FTP_URL}:${GMT_FTP_DIR}
193193
fi
194-
ssh ${USER}@${GMT_FTP_URL} "chmod og+r ${GMT_FTP_DIR}/gmt-*"
194+
ssh ${USER}@${GMT_FTP_URL} "chmod o+r,g+rw ${GMT_FTP_DIR}/gmt-*"
195195
fi

0 commit comments

Comments
 (0)