* [committed] maintainer-scripts: Fix up gcc_release without -l, where mkdir was using umask 077 after migration
@ 2020-03-12 17:32 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2020-03-12 17:32 UTC (permalink / raw)
To: gcc-patches
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 <jakub@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-12 17:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 17:32 [committed] maintainer-scripts: Fix up gcc_release without -l, where mkdir was using umask 077 after migration Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).