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.
sudo gcsfuse --file-mode "770" --dir-mode "770" -o allow_other -o nonempty --uid=1 --gid=1 nameofbucket /mnt/gcs-bucket/
and I can fiddle with permissions via sudo -u www-data
Has anybody successfully done this? I got it to work once but I have not been able to recreate it.