-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-9.0.0
-
None
-
Moderate
-
rhel-sst-virtualization
-
ssg_virtualization
-
2
-
Dev ack
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
Using virt-clone to clone a virtual machine disk image leaves the cloned image with "empty" effective ACLs.
Version-Release number of selected component (if applicable):
Linux myhost1 5.14.0-70.13.1.el9_0.x86_64 #1 SMP PREEMPT Thu Apr 14 12:42:38 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux release 9.0 (Plow)
acl.x86_64 2.3.1-3.el9
libacl.x86_64 2.3.1-3.el9
How reproducible:
Fully
Steps to Reproduce:
[root@myhost1 images]# setfacl -m d:johnd:rwx /var/lib/libvirt/images/
[johnd@myhost1 ~]$ virt-clone --connect qemu:///system --original base --auto-clone --name clone1
[root@myhost1 images]# getfacl clone1.qcow2
Actual results:
[root@myhost1 images]# getfacl clone1.qcow2
- file: clone1.qcow2
- owner: root
- group: root
user::rw-
user:johnd:rwx #effective:---
group::--x #effective:---
mask::---
other::---
Expected results:
[root@myhost1 images]# getfacl clone1.qcow2
- file: clone1.qcow2
- owner: root
- group: root
user::rw-
user:johnd:rwx
group::--x
mask::---
other::---