Actions
Bug #48727
openThe s3cmd abortmp operation may delete the bucket by mistake
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When you abort a multipart upload using s3cmd, it may delete the bucket by mistake.
Here is the operation flow:
1、create a bucket using s3cmd.
2、upload an object with s3cmd, and stop uploading in the middle.
3、use s3cmd abortmp operation to abort, but not specifying the object.
It will delete the bucket by mistake even if a nonexistent uploadId is specified, for example:
s3cmd abortmp s3://bucketName aaaaa, where aaaaa is a nonexistent uploadId, but this operation will return ok.
Files
Updated by fei hou over 3 years ago
PR goes here.
https://github.com/ceph/ceph/pull/38731
Updated by Or Friedmann over 3 years ago
- Assignee set to Or Friedmann
- Pull request ID set to 38734
Updated by Or Friedmann over 3 years ago
- Pull request ID changed from 38734 to 38731
Updated by lei cao over 3 years ago
i try a PR also. https://github.com/ceph/ceph/pull/38741
Updated by Or Friedmann about 3 years ago
- Status changed from New to Fix Under Review
Actions