From 223ed60ecb17b1a73e81303dc70d4d54fdb0d297 Mon Sep 17 00:00:00 2001 From: Jianpeng Chao Date: Fri, 10 Apr 2020 19:37:23 -0700 Subject: [PATCH] Set uniformbucketlevelaccess on test bucket https://cloud.google.com/storage/docs/using-uniform-bucket-level-access#enable PiperOrigin-RevId: 305988016 Change-Id: I9657b650b99cb909a05018d5b63fd8b0adf32976 --- prepare_project.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/prepare_project.bash b/prepare_project.bash index c8d180db..40581d8f 100755 --- a/prepare_project.bash +++ b/prepare_project.bash @@ -108,6 +108,7 @@ tempdir=`mktemp -d` pushd $tempdir echo "This is an example" > example.txt gsutil cp -p=${PROJECT?} example.txt gs://${PROJECT?}-test-dataset +gsutil uniformbucketlevelaccess set on gs://${PROJECT?}-test-dataset popd rm -rf $tempdir