我在终端上的Mac上错误地更改了/usr
到644
的模式,所以现在我的进程无法访问。
我无法使用sudo,我无法找到以root用户身份登录的任何方式,因此我可以将/usr
的模式更改回777.
请给我任何建议
以下是我在终端中打开新标签时显示的错误。
could not create a new process and open a pseudo-tty
答案 0 :(得分:0)
我遵循了trojanfoe的建议。 以下是解决此问题的步骤:
On system boot press Command+R it will take you to OS X Recovery
Click on Repair Disk Utility
Select your disk where os is installed
Click on repair file permissions
现在您只需要重新启动Mac即可修复您的权限。