I get the following error message when I compile a software:
./configure: /bin/sh: bad interpreter: Permission denied
After some investigation, I get the answer. That because I'm running the command on a filesystem which does not allow the execution of code.
For security reason, most distributions make movable usb disk partitions mounted with "noexec,nosuid,nodev". Eg:
/dev/sdb5 on /media/data type ext3 (rw,noexec,nosuid,nodev)
Solutions
# mount -o remount,rw /media/data
bad interpreter: Permission denied
I get the following error message when I compile a software:
After some investigation, I get the answer. That because I'm running the command on a filesystem which does not allow the execution of code.
For security reason, most distributions make movable usb disk partitions mounted with "noexec,nosuid,nodev". Eg:
Solutions
Categories
Feeds
Tags
Copyright © 2012 Zhigang Wang. Some right reserved.
The views expressed on this web site are my own and do not necessarily reflect the views of Oracle.