Fix odd permissions on symbols uploaded to server, b=379014, r=luser
authornrthomas@gmail.com
Tue, 24 Jul 2007 18:06:14 -0700
changeset 3928 e6ac5fe03919172863556aaf9f698d15924f4d87
parent 3927 84a1db7c2c14aa3be38f34d2cd9d0fed554d1e2c
child 3929 1a306e4c2154a414f0dabc85bd259b2570827413
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluser
bugs379014
milestone1.9a7pre
Fix odd permissions on symbols uploaded to server, b=379014, r=luser
toolkit/crashreporter/tools/upload_symbols.sh
--- a/toolkit/crashreporter/tools/upload_symbols.sh
+++ b/toolkit/crashreporter/tools/upload_symbols.sh
@@ -50,12 +50,13 @@ set -e
 archive=`basename $1`
 echo "Transferring symbols... $1"
 scp -v ${SYMBOL_SERVER_SSH_KEY:+-i $SYMBOL_SERVER_SSH_KEY} $1 \
   ${SYMBOL_SERVER_USER}@${SYMBOL_SERVER_HOST}:${SYMBOL_SERVER_PATH}/
 echo "Unpacking symbols on remote host..."
 ssh -2 ${SYMBOL_SERVER_SSH_KEY:+-i $SYMBOL_SERVER_SSH_KEY} \
   -l ${SYMBOL_SERVER_USER} ${SYMBOL_SERVER_HOST} \
   "set -e;
+   umask 0022;
    cd ${SYMBOL_SERVER_PATH};
    unzip $archive;
    rm -v $archive;"
 echo "Symbol transfer completed"