Temporarily disable gsutil public-read
This is to test uniform access control setup
Bug: b/177799191
Change-Id: I0a02ad1bdcb16c650aba330a73b8fcc12526c657
diff --git a/tools/utils.py b/tools/utils.py
index 2a4b18e..57af1e0 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -344,7 +344,9 @@
if is_html:
cmd += ['-z', 'html']
if public_read:
- cmd += ['-a', 'public-read']
+ # TODO(b/177799191) Temporarily disable public-read to test uniform access control
+ if 'r8-test-results' not in destination:
+ cmd += ['-a', 'public-read']
cmd += ['-R', directory, destination]
PrintCmd(cmd)
subprocess.check_call(cmd)