Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1647)

Unified Diff: archive_layout_test_results.py

Issue 46047: Make Linux archive world-readable so it can be downloaded on the web server.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/tools/buildbot/scripts/slave/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: archive_layout_test_results.py
===================================================================
--- archive_layout_test_results.py (revision 11612)
+++ archive_layout_test_results.py (working copy)
@@ -86,6 +86,9 @@
print 'saving results to %s' % dest_dir
chromium_utils.CopyFileToDir(zip_file, dest_dir)
elif sys.platform in ['linux', 'linux2', 'darwin']:
+ # Files are created umask 077 by default, so make it world-readable before
+ # pushing to web server.
+ os.chmod(zip_file, 0644)
chromium_utils.SshMakeDirectory(config.Archive.archive_host, dest_dir)
print 'saving results to "%s" on "%s"' % (dest_dir,
config.Archive.archive_host)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698