| Summary: | New storage pool creation doesn't correctly set owner and group when running as non-root user | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jonathan Underwood <jonathan.underwood> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | acathrow, dallan, dyuan, mzhan, rwu, whuang, zpeng |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-13 16:22:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jonathan Underwood
2012-02-13 14:42:53 UTC
From reading your blog, it looks like you're now using pool-define and passing the user and group in the XML, which is the right thing to do in this situation. I understand that the behavior of pool-define-as was surprising to you, but that's the way it's intended to work. pool-define gives you the full control that you're looking for. If you believe that this behavior should be changed, you should take this discussion to the upstream libvirt list, as the community might be willing to take patches to implement the behavior you want. I think what's actually missing is that the pool-define-as command should really have --owner and --group options. But yes, more of an upstream thing, agreed. |