-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create bucket if it does not exist? #23
Comments
It's expected that the bucket already exists, before you open the filesystem. That said, a way of creating a bucket with |
Creating a bucket would be a nice feature... |
I'm not sure I agree. I use the FS-URLs a lot, an in that format, the bucket falls into the 'host' portion of the URL, and therefore it makes sense that it should already exist. My concern with auto-creating buckets, is that it could lead to 'working' code that is writing data to the wrong place (a Typo in the bucket name, for example). |
@geoffjukes I concur that it would be unwise to auto-create buckets. If it is to be added, it should be made explicit. Perhaps a constructor boolean and a query argument on the FS URL? |
As |
I'm currently trying to use s3fs with minio, but running into trouble when a bucket does not exist.
I'm wondering whether this is expected to work (with s3) or if I should just add some code to create a bucket before connecting with s3fs. I don't have any s3 buckets to test against unfortunately.
Cheers
The text was updated successfully, but these errors were encountered: