I have been trying for the past few days to add a google storage bucket to my owncloud instance via setting it up as a local drive.
I am using gcsfuse and I can successfully mount it and have owncloud users view and download items from the bucket via the website. However no matter how much I try and fiddle with permissions (granting www-data or daemon ownership of the mounted folder or setting folder permissions to 777) the user on the owncloud website cannot upload or create files/directories.
This is the command I use with gcsfuse, I suspect its gcsfuse that messes with the permissions because I can successfully access the created folder PRIOR TO MOUNTING WITH GCSFUSE.
How do I determine the uid and gid of the users trying to write to the bucket? Wouldn’t the simplest soluton be to create a group of user ids with these permissions?