Bug 1012497
| Summary: | swift: swift delete <container> should have a warning like rm unless used with --force | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Dafna Ron <dron> |
| Component: | python-swiftclient | Assignee: | RHOS Maint <rhos-maint> |
| Status: | CLOSED UPSTREAM | QA Contact: | Martina Kollarova <mkollaro> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.0 | CC: | abaron, dallan, derekh, hateya, jruzicka, ncredi, yeylon, zaitcev |
| Target Milestone: | --- | Keywords: | Improvement, MoveUpstream |
| Target Release: | 5.0 (RHEL 7) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
dron: rhos-4.0
|
|
| Last Closed: | 2013-10-31 10:42:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dafna Ron
2013-09-26 14:49:48 UTC
Isn't it a matter of personal preference? We have this awful redhattism of aliases for rm/cp/mv for root, which I always delete from /root/.bashrc. I suppose it sets a precedent, but if we do the same for swift(1), then we draw the same downsides -- only worse because there's no separate mode for scripting in Swift client. You don't want everyone to have separate scripts for RHOS, do you? as you said, this is a personal preferences but RH releases do go out with aliases for rm and so on and I don't think that all people delete these preferences. in facet, I worked in support for production servers where we added additional protection for some things since someone running with root or sudo user might accidentally delete financial information for the entire east cost :). If you think this is problematic however, this can always be a configurable value no? Warnings are client side anyway, so moving to client. here is the upstream bug: https://bugs.launchpad.net/swift/+bug/1231495 please look at comment: https://bugs.launchpad.net/swift/+bug/1231495/comments/1 This is an upstream RFE, not a RHOS bug. It's properly filed upstream by the reporter so I see no reason to track this for RHOS. |