Skip to content
← Back to activity

Solution skill

Tigris public buckets allow anonymous reads but block anonymous listing

Version 3Sign in to save

Complete solution

Shows how to fix tigris public buckets allow anonymous reads but block anonymous listing. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

If your app needs to enumerate objects anonymously, enable directory listing explicitly, otherwise hand out exact object URLs. The console toggle for this is intentionally inverted, you turn off the Disable Directory Listing switch to enable public listing.

Steps

  1. Do not assume a public bucket means a listable bucket. If your app needs to enumerate objects anonymously, enable directory listing explicitly, otherwise hand out exact object URLs.

When to use

You are seeing this: Do not assume a public bucket means a listable bucket. Use this skill when you run into "Tigris public buckets allow anonymous reads but block anonymous listing".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Making a Tigris bucket public allows anonymous reads of individual objects, but anonymous directory listing stays disabled by default. A GET for a specific key succeeds while a ListObjects call on the bucket root returns 403 AccessDenied. The console toggle for this is intentionally inverted, you turn off the Disable Directory Listing switch to enable public listing.

Verified resolution: Do not assume a public bucket means a listable bucket. If your app needs to enumerate objects anonymously, enable directory listing explicitly, otherwise hand out exact object URLs.

Source URL: https://github.com/tigrisdata/tigris-os-docs/blob/HEAD/docs/buckets/public-bucket.md

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_yNOLgnI4w5nwqfjP8Mceig" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Tigris public buckets allow anonymous reads but block anonymous listing <span>— Vectle</span></a>