Chris
40b064993e
s3: fix --s3-versions flag ignored by cleanup-hidden when GetBucketVersioning fails
...
When a user has --s3-versions set but lacks the s3:GetBucketVersioning
permission, GetBucketVersioning returns an error and isVersioned() caches
the result as false. This caused CleanUpHidden (backend cleanup-hidden) to
silently exit with "bucket is not versioned so not removing old versions",
ignoring the user's explicit --s3-versions flag.
Fix this by trusting the explicit --s3-versions flag in purge(), bypassing
the GetBucketVersioning check when the user has explicitly declared the
bucket is versioned.
2026-04-09 17:08:03 +01:00
..
2024-08-08 13:41:31 +01:00
2026-01-30 16:02:50 +00:00
2025-10-28 11:05:41 +00:00
2026-03-03 14:01:11 +00:00
2026-01-30 17:50:18 +00:00
2026-03-03 14:01:11 +00:00
2025-11-18 16:09:06 +00:00
2025-10-21 18:56:06 +01:00
2025-06-12 18:31:01 +01:00
2025-04-09 15:03:59 +01:00
2025-09-14 15:58:20 +01:00
2025-11-04 14:50:56 +00:00
2025-11-27 14:42:11 +00:00
2026-01-18 20:48:33 +01:00
2026-02-26 10:58:13 +00:00
2026-02-26 12:37:10 +00:00
2025-11-12 15:54:01 +00:00
2024-09-06 18:20:10 +01:00
2025-02-28 11:31:14 +00:00
2026-02-16 17:45:42 +00:00
2026-02-05 12:08:20 +00:00
2025-02-28 11:31:14 +00:00
2026-01-09 16:10:02 +00:00
2025-05-27 14:28:25 +01:00
2025-12-01 19:04:02 +00:00
2026-02-18 12:11:52 +00:00
2025-11-04 23:00:46 +01:00
2025-07-31 11:38:51 +01:00
2025-02-28 11:31:14 +00:00
2026-02-18 12:11:52 +00:00
2026-04-09 17:04:20 +01:00
2026-01-08 12:05:37 +00:00
2025-09-04 10:37:27 +01:00
2026-02-26 11:13:16 +00:00
2026-04-06 08:28:28 +01:00
2025-06-24 15:04:45 +01:00
2026-04-08 08:49:42 +01:00
2026-03-24 10:17:36 +00:00
2026-02-18 12:11:52 +00:00
2026-01-24 12:35:02 +00:00
2025-12-17 10:21:12 +00:00
2025-11-04 23:00:46 +01:00
2026-02-18 12:11:52 +00:00
2025-02-28 11:31:14 +00:00
2026-01-09 16:10:02 +00:00
2026-01-08 12:05:37 +00:00
2026-02-18 12:11:52 +00:00
2024-08-12 13:35:44 +01:00
2025-07-31 11:38:51 +01:00
2026-01-28 11:38:38 +00:00
2025-02-28 11:31:14 +00:00
2025-04-08 15:14:00 +01:00
2025-09-15 12:45:57 +01:00
2026-04-09 17:08:03 +01:00
2026-01-08 12:05:37 +00:00
2026-04-09 17:00:45 +01:00
2026-02-18 12:11:52 +00:00
2026-02-18 12:11:52 +00:00
2025-02-28 11:31:14 +00:00
2025-09-22 15:33:44 +01:00
2024-04-22 19:29:12 +02:00
2025-02-28 11:31:14 +00:00
2026-01-18 20:48:33 +01:00
2025-11-10 15:56:06 +00:00
2025-09-14 15:58:20 +01:00
2026-03-16 17:29:45 +00:00
2025-11-13 13:47:40 +00:00
2026-02-18 12:11:52 +00:00