kahing / goofys

a high-performance, POSIX-ish Amazon S3 file system written in Go
Apache License 2.0
5.18k stars 521 forks source link

Support for CloudFlare R2 #775

Closed ProfessorManhattan closed 2 months ago

ProfessorManhattan commented 11 months ago

Hey, I was able to get this working w/ DigitalOcean with the following:

goofys -f --endpoint https://nyc3.digitaloceanspaces.com/ --file-mode=0777 --dir-mode=0777 private ~/TestMnt3

This mounts the private bucket to the ~/TestMnt3 folder. However, I'm unsure if CF R2 has compatibility for goofys because I get the following error when mounting an R2 bucket:

goofys -f --endpoint https://84fa0d1b16ff8086dd958c468ce7fd59.r2.cloudflarestorage.com --file-mode=0777 --dir-mode=0777 system ~/TestMnt3

Is there anyway to mount CF R2 buckets?

joshuataylor commented 9 months ago

Mine ended up working with --subdomain.