Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每当我在 Centos5.1 上打开终端时,总是会收到此错误
/root/.cshrc Permission denied
然后我不能使用网络命令(ip,ifconfig,...),因为它们被报告为未知命令。
验证您是否有权读取 .cshrc 要执行该问题:
ls -l /root/.cshrc
如果输出以破折号开头,则表示您没有。授予自己对此文件问题的读取权限:
chmod +r /root/.cshrc
现在,如果您运行ls -l /root/.cshrc输出应该以-r.
-r