Project

General

Profile

Actions

Bug #63258

open

RGW: bucket chown does not work properly with versioned bucket

Added by Huy Nguyen 7 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
chown versioning
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi, I'm using Ceph v16.2.13.
After using bucket chown to a versioned bucket, I use bucket list to show objects inside it and see the owner metadata was not changed, but the access policy actually changed.

Steps to reproduce:
1. Create user1 and user2
2. Create bucket1 using user1
3. Enable bucket versioning for bucket1
4. Put an object into bucket1
5. Link bucket1 to user2
6. Chown bucket1 to user2
7. Check bucket list to see the object owner is still user1, but user2 can head the object now

This bug does not happens with non versioned bucket.

Actions #1

Updated by Casey Bodley 6 months ago

  • Assignee set to Ali Maredia
  • Tags set to chown versioning
Actions

Also available in: Atom PDF