From: Jakub Jelinek Date: Thu, 12 Mar 2020 17:30:16 +0000 (+0100) Subject: maintainer-scripts: Fix up gcc_release without -l, where mkdir was using umask 077... X-Git-Tag: embedded-9-2020q2~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3739894d0cfc88b6d84134b827f33b31d646d32a;p=thirdparty%2Fgcc.git maintainer-scripts: Fix up gcc_release without -l, where mkdir was using umask 077 after migration 2020-03-12 Jakub Jelinek * gcc_release (upload_files): Without -l, pass -m 755 to the mkdir command invoked through ssh. --- diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index b1a9be6f5b24..039f7381af58 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,11 @@ +2020-03-17 Jakub Jelinek + + Backported from mainline + 2020-03-12 Jakub Jelinek + + * gcc_release (upload_files): Without -l, pass -m 755 to the mkdir + command invoked through ssh. + 2020-03-12 Release Manager * GCC 9.3.0 released. diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 74cce1af18d3..2456908d7161 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -398,7 +398,7 @@ upload_files() { # Make sure the directory exists on the server. if [ $LOCAL -eq 0 ]; then ${SSH} -l ${GCC_USERNAME} ${GCC_HOSTNAME} \ - mkdir -p "${FTP_PATH}/diffs" + mkdir -m 755 -p "${FTP_PATH}/diffs" UPLOAD_PATH="${GCC_USERNAME}@${GCC_HOSTNAME}:${FTP_PATH}" else mkdir -p "${FTP_PATH}/diffs" \