mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Fix possible permissions issue with uploaded files
This commit is contained in:
4
build.py
4
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:
|
||||
|
||||
Reference in New Issue
Block a user