sudo chmod permission denied

不羁岁月 提交于 2019-12-11 16:28:07

问题


I accidentally executed the following command:

sudo chmod -R 0700 /lib

Now every single command (even with sudo) gives me a 'permission denied' (even simple commands like 'ls'). I got told because all the important executable files in the lib folder are not executable anymore.

Basically my system is blocked. Is there a way to restore this (it is a server so reinstalling is not an option)?

来源:https://stackoverflow.com/questions/33281896/sudo-chmod-permission-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!