Hi all, 

We are trying to move a bucket in radosgw from one user to another in an effort 
both change ownership and attribute the storage usage of the data to the 
receiving user’s quota. 

I have unlinked the bucket and linked it to the new user using: 

radosgw-admin bucket unlink —bucket=$MYBUCKET —uid=$USER
radosgw-admin bucket link —bucket=$MYBUCKET —bucket-id=$BUCKET_ID —uid=$NEWUSER

However, perhaps as expected, the owner of all the objects in the bucket remain 
as $USER. I don’t believe changing the owner is a supported operation from the 
S3 protocol, however it would be very helpful to have the ability to do this on 
the radosgw backend. This is especially useful for large buckets/datasets where 
copying the objects out and into radosgw could be time consuming.

 Is this something that is currently possible within radosgw? We are running 
Ceph 12.2.2. 

Thanks,
Ryan Leimenstoll
rleim...@umiacs.umd.edu
University of Maryland Institute for Advanced Computer Studies
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to