What are the permissions on /usr/bin/wget?
Code:
# which wget
/usr/bin/wget
# ls -alh /usr/bin/wget
-rwxr-xr-x 1 root root 239K Nov 3 2009 /usr/bin/wget*
Note that the permissions on /usr/bin/wget should be 755 by default, so by default users other than root should be able to use wget. If they are not, a custom change has been made, either by you or by someone else who has, or had, root access to the server. To change the permissions on the wget file back to the default, use the chmod command:
Code:
# chmod 755 /usr/bin/wget
This will give root read, write and execute permissions, group read and execute permissions, and everybody else read and execute permissions.
You may find the following Linux permissions tutorials to be helpful:
Understanding File Permissions
Linux Knowledge Base and Tutorial
Tutorial for chmod