Third Party to Resolve
Details
Assignee
Triage Team
Triage TeamReporter
Joe Roback
Joe RobackLabels
Impact
Low
Time remaining
0m
Components
Fix versions
Priority
Katalon Platform
Created January 28, 2022 at 10:42 PM
Updated July 6, 2022 at 8:57 PM
Resolved February 15, 2022 at 10:58 AM

https://www.truenas.com/community/threads/cant-mount-iso-to-vm-permission-denied.98511/post-679727
My default, if you use an ISO with KVM/QEMU, libvirt will change the ownership of the ISO. That seems incorrect on a NAS, for a read-only ISO, read permissions is all that should be required of libvirt.
Background:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1784001
Looking in /etc/libvirt/qemu.conf, this setting would fix this... why is the default not 0 here:
Whether libvirt should dynamically change file ownership
to match the configured user/group above. Defaults to 1.
Set to 0 to disable file ownership changes.
#dynamic_ownership = 1
Please consider making dynamic_ownership = 0 by default on TrueNAS. Its odd for some other subsystem to change the ownership, messing with any share's permissions/ownership/acl for read-only use is unexpected.