首页 > 解决方案 > 即使具有完全访问权限,终端仍显示“不允许操作”

问题描述

在执行此代码时

DYLD_LIBRARY_PATH=. \
./qemu-system-aarch64 \
-M virt \
-accel hvf \
-m 5G \
-smp 4 \
-cpu max \
-device ramfb \
-serial stdio \
-drive file=Windows10_InsiderPreview_Client_ARM64_en-us_20231.VHDX,if=none,id=NVME1 \
-device nvme,drive=NVME1,serial=nvme-1 \
-device nec-usb-xhci \
-device usb-kbd \
-device usb-tablet \
-device intel-hda -device hda-duplex \
-drive file=vars-template-pflash.raw,if=pflash,index=1 \
-bios QEMU_EFI.fd

我收到这个错误 unable to execute ./qemu-system-aarch64: Operation not permitted

我已授予终端完全访问权限:(终端设置图片)

系统:Mac M1 Big Sur

标签: macosterminallinux-kernelvirtual-machineqemu

解决方案


推荐阅读