Hi!

After the sourceware migration, seems the gcc_release -u gccadmin ...
created directories had 2700 permissions instead of 2755.

Fxed thusly, committed to trunk.

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

        * gcc_release (upload_files): Without -l, pass -m 755 to the mkdir
        command invoked through ssh.

--- maintainer-scripts/gcc_release.jj   2020-02-27 09:31:57.481096944 +0100
+++ maintainer-scripts/gcc_release      2020-03-12 18:12:54.061688369 +0100
@@ -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" \

        Jakub

Reply via email to