sup*_*rdo 15 google-app-engine google-cloud-storage google-compute-engine gsutil
我正在使用Google云端存储和Google Compute Engine,并尝试从我的虚拟机上传到我的存储桶.我的存储桶具有读/写权限,任何有权访问它的人都有.他们被标记为所有者.我可以从我的桶下载很好.当我尝试上传到我的桶时,这是我得到的错误.ResumableUploadAbortException: 403 Insufficient Permission
.我不确定为什么会这样?有线索吗?
Nan*_*mar 12
在 GCE 实例上运行以下设置:无需重启 Compute Engine,
gcloud init
Run Code Online (Sandbox Code Playgroud)
输出将是这样的。
Choose the account you would like to use to perform operations for this configuration:
[1] 533893300998-compute@developer.gserviceaccount.com
[2] Log in with a new account
Please enter your numeric choice: 1
Run Code Online (Sandbox Code Playgroud)
选择数字 1 以使用服务帐户。如果这是一台共享机器并且您使用您的个人帐户登录,则您的凭据可能会被该机器上的任何其他人使用。有关更多详细信息,请阅读此处
如果您已经初始化 gcloud,则您不想重新初始化。
gcloud auth login
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
9944 次 |
最近记录: |