我有一个谷歌云项目。 在那个项目中。我有一个VM实例。 我使用保险丝挂载了带有Google Cloud Storage存储桶的uploads文件夹。
安装时我收到这样的错误,
Using mount point: /var/www/html/porject/app/webroot/uploads
Opening GCS connection...
Opening bucket...
Mounting file system...
daemonize.Run: readFromProcess: sub-process: mountWithArgs: mountWithConn: Mount: mount: running fusermount: exit status 1
stderr:
fusermount: mount failed: Operation not permitted
所以我使用sudo命令 现在我得到这样的回应
Using mount point: /var/www/html/4thambit_v7/app/webroot/uploads
Opening GCS connection...
Opening bucket...
Mounting file system...
File system has been successfully mounted.
但是我无法访问uploads文件夹,显示403错误(参见图片。)
ls -l命令响应像这样
drwxrwxrwx. 1 root root 0 May 8 13:26 uploads
任何人都知道使用云存储桶在centos计算机上安装文件夹的正确步骤。如果gcs挂载成功。它的工作方式类似于本地目录。