linux - 为什么sudo之后找不到命令?
伊谢尔伦
伊谢尔伦 2017-04-17 15:29:29
0
1
351

我把含有gclientdepot_toolsOS X拷入虚拟机(VMware Fusion),添加进PATH。运行gclient.

错误如图:

这个错误是否与虚拟机与OS X 有关?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
黄舟

sudoIt will be reset when runningPATH, so your program will not be found. It is recommended to add the program directly to the program directory (/bin, /usr/bin,...) and make as few modifications as possiblePATH .
In addition, the reason why you can't run gclient is that you don't have permission to run it, which has nothing to do with sudo.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template