首页 文章

Chromium build gclient runhooks错误号13

提问于
浏览
0

我在运行gclient runhooks来构建chrome时遇到以下错误 .

在'/ media / usrname / !!中运行'/ usr / bin / python src / tools / clang / scripts / update.py --if-needed'!! ChiLL out !!'回溯(最近调用最后一次):文件“src / tools / clang / scripts / update.py”,第283行,在sys.exit(main())文件“src / tools / clang / scripts / update.py”中,第269行,在主stderr = os.fdopen(os.dup(sys.stdin.fileno())))文件“/usr/lib/python2.7/subprocess.py”,第522行,在调用返回Popen(* popenargs,** kwargs).wait()文件“/usr/lib/python2.7/subprocess.py”,第710行,在init errread,errwrite)文件“/usr/lib/python2.7/subprocess.py” ,行1327,在_execute_child中引发child_exception OSError:[Errno 13]权限被拒绝错误:命令/ usr / bin / python src / tools / clang / scripts / update.py --if-needed返回非零退出状态1 in / media / usrname / !! ChiLL out !!

为了获得目录“/ usr / bin / python src / tools / clang / scripts”的权限,我尝试了chown和chmod,但它返回了相同的错误 .

2 回答

  • 0

    我认为脚本目录中的python脚本正在尝试修改其他一些文件或目录....尝试跟踪它正在尝试做什么......你还没有指定你正在使用的操作系统... ....看到这个链接https://github.com/aerospike/aerospike-client-python/issues/22

    它说Linux Mint 17不正式支持.....

  • 0

    实际上目录没有安装执行权限 . 所以我使用执行权限重新安装了目录
    mount -o exec /dev/sda5 /media/usrname
    它工作得很好 .

相关问题