Google存储空间:我可以创建存储分区,但是无法访问“传输"功能 [英] Google Storage: I can create a bucket, but I can't access the "transfer" function

查看:66
本文介绍了Google存储空间:我可以创建存储分区,但是无法访问“传输"功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎再次遇到某种权限问题.

I seem to once again have some sort of authority problem.

我需要将一个存储桶的所有内容移动到一个新存储桶中(现有存储桶的名称中带有"test",我们可以很快将其用于生产).我了解通常是通过转移"完成的.

I need to move the entire contents of a bucket into a new bucket (the existing one has "test" in its name, and we could be using it for production very soon). I understand that is normally done via "transfer."

我可以创建一个存储桶,但无法访问传送"功能.如果我尝试转到转移页面,则会得到: 您无权对所选资源执行操作.

I can create a bucket, but I can't access the "transfer" function. If I try to go to the transfer page, I get: You don't have permissions to perform the action on the selected resource.

我的研究告诉我,我需要编辑"或所有者"角色,但我什至不知道我所担任的项目级角色.由于缺少这些角色之一,我如何创建存储桶?

My research tells me I need the "editor" or "owner" role, but I can't even tell what project-level role(s) I have. And lacking one of those roles, how is it that I can create a bucket?

推荐答案

"gsutil cp"最终不起作用:即使添加了"-p"选项以保留ACL,存储桶的内容也完全不可见到需要访问存储桶的Google Compute实例.

"gsutil cp" ultimately didn't work: even with a "-p" option added, to preserve the ACLs, the contents of the bucket were completely invisible to the Google Compute instances that needed to access the bucket.

我最终将新的存储桶擦干净,将两个存储桶都安装在一个实例中,并通过实例命令行从一个存储桶到另一个存储桶执行"cp -r -P -p"操作.那行得通.

I finally ended up wiping the new bucket clean, mounting both buckets in an instance, and doing a "cp -r -P -p" from one bucket to the other, from the instance command line. THAT worked.

这篇关于Google存储空间:我可以创建存储分区,但是无法访问“传输"功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆