GoogleCloudPlatform / GoogleCloudPlatform/gsutil

gsutil -m rm on empty bucket fails with CommandException

Open
#417 19 comments 25 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

Running the following command fails with "CommandException: 1 files/objects could not be removed."

The error isn't meaningful as in fact the issue is that there are no files, instead it says 'objects could not be removed'. Also, should the bucket not having files raise an exception?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.