I have a google cloud project. In that project. I have a VM instance. I mounted uploads folder with Google Cloud Storage bucket using fuse.
While mounting I get an error like this,
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
so i use sudo command now i get reponse like this
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.
But i can't access the uploads folder, its showing 403 error (see image.)
ls -l command response like this
drwxrwxrwx. 1 root root 0 May 8 13:26 uploads
Anyone knows the correct steps to mount a folder in centos machine with Cloud Storage bucket.? if the gcs mount is successful. it will works similar to the local directory.