From c56871dd15a258c8775740194e6ed960a1f3d850 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Mar 2020 18:30:16 +0100 Subject: 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. --- maintainer-scripts/gcc_release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'maintainer-scripts/gcc_release') diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 74cce1a..2456908 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" \ -- cgit v1.1