maintainer-scripts: Fix up gcc_release without -l, where mkdir was using umask 077 after migration

2020-03-12  Jakub Jelinek  <jakub@redhat.com>

	* gcc_release (upload_files): Without -l, pass -m 755 to the mkdir
	command invoked through ssh.
This commit is contained in:
Jakub Jelinek 2020-03-12 18:30:16 +01:00
parent 9a8af207d7
commit 3739894d0c
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2020-03-17 Jakub Jelinek <jakub@redhat.com>
Backported from mainline
2020-03-12 Jakub Jelinek <jakub@redhat.com>
* 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.

View File

@ -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" \