【发布时间】:2014-06-09 13:15:38
【问题描述】:
我的谷歌应用引擎应用程序引用存储桶中的图像。我使用开发者控制台上传了它们。现在当我加载我的应用程序并发生错误时。
Fatal error: Uncaught exception 'google\appengine\api\cloud_storage\CloudStorageException' with message 'Access denied to image.' in ...
我可以通过使用开发者控制台更改每个对象的"All Authenticated Users" 来修复此错误。实际上,这是一项耗时的工作,因为我的存储桶中有很多图像。
有没有办法通过 gsutil 为我的存储桶中的所有对象设置"All authenticated user" 权限?
【问题讨论】: