./sysroot.sh:不允许操作 [英] ./sysroot.sh: Operation not permitted
本文介绍了./sysroot.sh:不允许操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试安装cydia源代码.
im trying to install the cydia source code.
$ git clone git://git.saurik.com/cydia.git
$ cd cydia
但是当我键入"./sysroot.sh"时,出现此错误:
but when i typing "./sysroot.sh" i got this error:
-bash: ./sysroot.sh: /usr/bin/env: bad interpreter: Operation not permitted
出什么问题了?
推荐答案
我的猜测是,使用"noexec"选项挂载了您要从中运行脚本的文件系统. shebang内部的解释器不必位于$ PATH中,因为已指定了绝对路径.尝试通过调用解释器而不是脚本来运行脚本:
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
这篇关于./sysroot.sh:不允许操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文