Actions
Bug #48727
openThe s3cmd abortmp operation may delete the bucket by mistake
Status:
Fix Under Review
Priority:
Normal
Assignee:
Or Friedmann
Target version:
-
% 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
Actions