Google Cloud Storage Bucket Permission issue

2,323 views
Skip to first unread message

Rupesh kumar

unread,
Jul 9, 2016, 6:41:28 PM7/9/16
to gce-discussion
Hi,

I've Created Goolge cloud storage Bucket to host my wordpress files. I mounted my apache document root folder from gcsfuse tool to this google cloud storage bucket file syncd also. i'm unable to set permissions like chown,chmod in this folder. when i try to access my site it give error

"Permission denied: [client X.X.X.X:21592]
 AH00035: access to / denied (filesystem path '/var/www/html/myserver.com') because search permissions are missing
 on a component of the path"

Faizan (Google Cloud Support)

unread,
Jul 13, 2016, 1:04:56 PM7/13/16
to gce-discussion
Hello Rupesh,

When you mount your storage bucket using gcsfuse, it restricts file system access to the user who mounted the file system. If you like to provide access to other users, you can override this behaviors with the allow_other mount option along with the --uid and --gid flags. However, keep in mind that this may have security implications. For more information on gcsfuse you can refer to this link [1].

I hope that helps.

Faizan

Reply all
Reply to author
Forward
0 new messages