unikraft / run-app-elfloader

Run Unikraft ELF Loader app on Linux executables
13 stars 11 forks source link

run.sh: Use security model none for the root filesystem #15

Closed StefanJum closed 1 year ago

StefanJum commented 1 year ago

The passthrough security model will attempt to create files on the host using the same uid as the one on the guest, by calling fchown, which will fail if qemu is not called as root.

Fix that by using security model none, which will still call the fchown, but ignore the returned error.

This will solve issue unikraft/#933.

Signed-off-by: Stefan Jumarea stefanjumarea02@gmail.com