I need to install wget
and so I used sudo apt-get install wget
, and it did, in fact, install it to /usr/bin/wget
, but the permissions are all wrong (other lines for context):
-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 whatis
No permissions for any users on wget
!
If I try sudo wget
, it returns:
sudo: wget: command not found
If I try sudo chmod 755 /usr/bin/wget
, it returns:
chmod: changing permissions of '/usr/bin/wget': Operation not permitted
What happened here and how can I fix it?
lsattr /usr/bin/wget
andgetfacl /usr/bin/wget
.lsattr
.