diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-03-12 18:30:16 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-03-12 18:30:16 +0100 |
commit | c56871dd15a258c8775740194e6ed960a1f3d850 (patch) | |
tree | e2945f6104a4878deb48149f191ce58ad2e5f425 /maintainer-scripts | |
parent | a0ae4cbe9d1430b32f674b862a6d8dce0ed81f2a (diff) |
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.
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 3 | ||||
-rwxr-xr-x | maintainer-scripts/gcc_release | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 0467eba7106..7153c90f03a 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,5 +1,8 @@ 2020-03-12 Jakub Jelinek <jakub@redhat.com> + * gcc_release (upload_files): Without -l, pass -m 755 to the mkdir + command invoked through ssh. + * update_web_docs_git: Drop SPHINXBUILD=/usr/bin/sphinx-1.0-build. 2020-02-27 Jakub Jelinek <jakub@redhat.com> diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 74cce1af18d..2456908d716 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" \ |