Skip to content
Discussion options

You must be logged in to vote

From my quick search, the issue is that "ozone key list" calls OzoneBucket#listKeys with shallow=false so it will list all the subdirectories in the bucket. If one of the subdirectory list permission fails, it fails the whole operation.

Currently, there is no option in ozone sh key list (ListKeyHandler) to make the shallow configurable. You can raise a PR to support this.

Alternatively, if you use S3G list-keys, the shallow flag is set (ozone.s3g.list-keys.shallow.enabled) by default, so you should not encounter permission issues.

Feel free to test this behavior.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Pigueiras
Comment options

@ivandika3
Comment options

Answer selected by Pigueiras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants