]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
maintainer-scripts: Fix up gcc_release without -l, where mkdir was using umask 077...
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Mar 2020 17:30:16 +0000 (18:30 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 17 Mar 2020 17:21:24 +0000 (18:21 +0100)
2020-03-12  Jakub Jelinek  <jakub@redhat.com>

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

maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release

index b1a9be6f5b24d8af4ae68fc2a032be3c6b6fda86..039f7381af58fe9c9569c79e18b09b306c5b0889 100644 (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.
index 74cce1af18d3f341c291d939a914150feab69ae7..2456908d716167fa7de8d9b49ddaad9eaf616625 100755 (executable)
@@ -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" \