Skip to content
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

mc ls doesn't work well with ListObjects (no V2) #3962

Closed
deantvv opened this issue Feb 7, 2022 · 1 comment
Closed

mc ls doesn't work well with ListObjects (no V2) #3962

deantvv opened this issue Feb 7, 2022 · 1 comment

Comments

@deantvv
Copy link

deantvv commented Feb 7, 2022

Expected behavior

mc ls with server only support ListObjects also works

Actual behavior

Not working

Detail

This issue is almost the same as #3073 but on different server implementation.
#3101 solved #3073 by checking host url with google and use ListObjects for google only.
In reality, there exists other implementation that only support ListObjects (but not V2 variant) which still suffer from this issue.

Possible solution

Maybe we could add a key to config like UseLegacyListObject to instruct mc to use ListObjects in ls?

@klauspost
Copy link
Contributor

@deantvv That is not something we are planning to support. You are welcome to send a pull request and we can discuss the feature there if it is implemented non-intrusively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants