I am getting the following permission denied error while trying to run .sh file on lubuntu:
./file.sh: 11: ./file.sh: ./qemu-system-i386: Permission denied
note: chmod +x file.sh , command is already given.
Any help is appreciated.
I am getting the following permission denied error while trying to run .sh file on lubuntu:
./file.sh: 11: ./file.sh: ./qemu-system-i386: Permission denied
note: chmod +x file.sh , command is already given.
Any help is appreciated.
use sudo
to execute file.sh
sudo ./file.sh
any user can execute command qemu-system-i386
but seems like device that you want to use is either owned by root or read-only.
if you want to use device in read-only mode then you have to add readonly=on
attribute. i don't know what you have written in file.sh
. so i am giving some reference that may help you.
here is long discussion about similar problem
here is some information that may be helpful
qemu-system-i386: use documentation more info about
qemu-system-i386
sudo ./file.sh
the file I am trying to execute is a linux virtual machine program could be found at [levinux.com] I am new to qemu, therefore thank you for the document.