./sysroot.sh: Operation not permitted
Asked Answered
G

1

4

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?

Gloucestershire answered 29/2, 2012 at 14:39 Comment(4)
What does sysroot.sh do? did u try run it as a root? does sysroot.sh has 'x' mode?Rubble
what is 'x' mode? sysroot is very big file. give you the code of sysroot.sh?Gloucestershire
show us just few first line, and check if u have usr/bin/env program on your $PATHRubble
i dont have usr/bin/env in $PATH.Gloucestershire
C
13

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
Cabriolet answered 29/2, 2012 at 16:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.