Project

General

Profile

Actions

Bug #48727

open

The s3cmd abortmp operation may delete the bucket by mistake

Added by fei hou over 3 years ago. Updated over 3 years ago.

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

s3cmd_abortmp.log (19.2 KB) s3cmd_abortmp.log log file fei hou, 12/29/2020 06:10 AM
Actions

Also available in: Atom PDF