我需要安装wget,所以我使用了sudo apt-get install wget,实际上,它将它安装到/usr/bin/wget中,但是权限都是错误的(上下文的其他行):
-rwxr-xr-x 1 root root 286 Jul 1 2014 wftopfa
---------- 1 root root 407696 Feb 7 2014 wget
-rwxr-xr-x 1 root root 48112 Apr 10 2014 whatiswget上没有任何用户的权限!
如果我尝试sudo wget,它将返回:
sudo: wget: command not found如果我尝试sudo chmod 755 /usr/bin/wget,它将返回:
chmod: changing permissions of '/usr/bin/wget': Operation not permitted这里发生了什么,我该怎么解决?
发布于 2015-03-01 00:32:56
我的朋友看到了我的留言,帮我解决了这个问题:
chattr -sia /usr/bin/wget他建议我读man chattr来了解更多。
这使我能够做chmod。
https://askubuntu.com/questions/591225
复制相似问题