问题
im trying to install the cydia source code.
$ git clone git://git.saurik.com/cydia.git
$ cd cydia
but when i typing "./sysroot.sh" i got this error:
-bash: ./sysroot.sh: /usr/bin/env: bad interpreter: Operation not permitted
what the problem?
回答1:
My guess would be that the filesystem you are trying to run the script from is mounted using the "noexec" option. The interpreter inside of a shebang does not need to be in your $PATH, since an absolute path is specified. Try running your script by calling the interpreter, rather than the script:
bash sysroot.sh
来源:https://stackoverflow.com/questions/9501063/sysroot-sh-operation-not-permitted