yandex-cloud / geesefs

Finally, a good FUSE FS implementation over S3
Other
693 stars 45 forks source link

Can we use `geesefs` for data writing to s3 ? #9

Closed kudep closed 3 years ago

kudep commented 3 years ago

I can not get writing to s3 through fuse using geesefs mounting with the following command:

geesefs-linux-amd64  --file-mode=0666 --dir-mode=0777 --uid=1000 test-bucket-7d7fsdfs ./mnt

Creating files or directories in ./mnt doesn't change anything of test-bucket-7d7fsdfs At the same time, copying files to the bucket via aws s3 works

aws --endpoint-url=https://storage.yandexcloud.net s3 cp some-file s3://test-bucket-7d7fsdfs/
vitalif commented 3 years ago

Of course you can :-) However, it seems there is a problem with public buckets (with public listings enabled). The bug seems to be inherited from goofys, it uses anonymous mode if it detects an anonymous bucket and --profile option is empty. I'll fix it in later versions, and the current workaround is to use ~/.aws/credentials and explicitly pass --profile default.

kudep commented 3 years ago

thanks a lot, I have changed public bucket to private one and now it works.