From 47a942ae4fd2da346e5ea12fd848837863fe171e Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 18 Sep 2019 10:57:33 -0700 Subject: [PATCH] Fix possible permissions issue with uploaded files --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index df9ff454..a23a3f64 100755 --- a/build.py +++ b/build.py @@ -702,8 +702,8 @@ def uploadPackage(fileName, options, mask=defaultMask, keep=75): cmd = 'scp {} {}:{}'.format(fileName, host, uploadDir) runcmd(cmd) - # Make sure it is readable by all - cmd = 'ssh {} "cd {}; chmod a+r {}"'.format(host, uploadDir, os.path.basename(fileName)) + # Make sure it is readable by all, and writable by rbot + cmd = 'ssh {} "cd {}; chmod 644 {}"'.format(host, uploadDir, os.path.basename(fileName)) runcmd(cmd) if not options.release: