I recently switched from using Brew to manage QEMU, to Nix, and hit a permissions issue as a result.
When setting qemu_dir to the Nix QEMU directory instead of '/opt/homebrew/share/qemu', the VM failed to start.
Stderr: qemu-system-aarch64: Could not open '.../edk2-arm-vars.fd': Permission denied
In Brew, the firmware file permissions are '644', while with Nix they are '444'.
Hi.
I recently switched from using Brew to manage QEMU, to Nix, and hit a permissions issue as a result. When setting
qemu_dir
to the Nix QEMU directory instead of '/opt/homebrew/share/qemu', the VM failed to start.In Brew, the firmware file permissions are '644', while with Nix they are '444'.