Google cloud storage gcsfuse won';无法写入文件夹

Google cloud storage gcsfuse won';无法写入文件夹,google-cloud-storage,gcsfuse,Google Cloud Storage,Gcsfuse,我想弄明白为什么我不需要做这一步 (Ubuntu before wily only) Add yourself to the fuse group, then log out and back in: sudo usermod -a -G fuse $USER exit 那为什么我不能写文件;我不断得到以下错误: Using mount point: /mnt/c/Users/russe/Documents/gstorage Opening GCS connection... Opening

我想弄明白为什么我不需要做这一步

(Ubuntu before wily only) Add yourself to the fuse group, then log out and back in:

sudo usermod -a -G fuse $USER
exit
那为什么我不能写文件;我不断得到以下错误:

Using mount point: /mnt/c/Users/russe/Documents/gstorage
Opening GCS connection...
Opening bucket...
Mounting file system...
daemonize.Run: readFromProcess: sub-process: mountWithArgs: mountWithConn: Mount: mount: running fusermount: exit status 1

stderr:
fusermount: fuse device not found, try 'modprobe fuse' first
我正在使用Ubuntu(在Windows应用商店上)

即使是跑步:

sudo mount -t gcsfuse -o implicit_dirs,allow_other,uid=1000,gid=1000,key_file=/mnt/c/Users/russe/Documents/RadioMedia-ba86f56a2aa6.json radiomediapod
cast gstorage
有一个错误:

Calling gcsfuse with arguments: --uid 1000 --gid 1000 --key-file /mnt/c/Users/russe/Documents/RadioMedia-ba86f56a2aa6.json -o rw --implicit-dirs -o allow_other radiomediapodcast /mnt/c/Users/russe/Documents/gstorage
Using mount point: /mnt/c/Users/russe/Documents/gstorage
Opening GCS connection...
Opening bucket...
Mounting file system...
daemonize.Run: readFromProcess: sub-process: mountWithArgs: mountWithConn: Mount: mount: running fusermount: exit status 1

stderr:
fusermount: fuse device not found, try 'modprobe fuse' first

running gcsfuse: exit status 1

您遇到的问题可能是因为两件事:

-装载操作系统后的权限,要解决此问题,请使用以下命令装载您的bucket:

sudo mount-t gcsfuse-o implicit_dirs,allow_other,uid=1000,gid=1000,key_file=.json


-您的服务帐户的权限,要验证这一点,您可以在控制台上转到IAM&admin,并验证正在使用的服务帐户是否具有存储管理员角色。

我使用了gcloud auth application default login您正在使用的ubuntu计算机是GCP中的VM还是它在哪里?