View previous topic :: View next topic |
Author |
Message |
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Fri May 08, 2015 2:41 pm Post subject: No permissions for wget. |
|
|
Hi Experts,
I am completely stuck and not sure how to get this done. I have wget binary on my server with the below permissions :-
Code: | ls -lth /usr/bin/wget
----------. 1 root root 356K Oct 1 2012 /usr/bin/wget
|
I am not able to either change the permission for it using chmod nor its attribute using chattr command.
Code: | lsattr /usr/bin/wget
----i--------e- /usr/bin/wget
|
When I try to change the attributr for it, it throws me the below error :-
Code: | chattr -i /usr/bin/wget
-bash: chattr: command not found
|
I am not sure how to get this fixed and completely out of ideas. Appreciate all your help in getting this resolved for me. Thanks in advance. |
|
Back to top |
|
|
lagalopex Guru
Joined: 16 Oct 2004 Posts: 562
|
Posted: Fri May 08, 2015 2:57 pm Post subject: |
|
|
You have lsattr but not chattr? They should both be in sys-fs/e2fsprogs... perhaps remerge?
According to the date of wget its apretty old version... do you do any updates?
Anything else "strange"? Perhaps compromised... app-forensics/chkrootkit?
Last edited by lagalopex on Fri May 08, 2015 3:04 pm; edited 2 times in total |
|
Back to top |
|
|
bstaletic Apprentice
Joined: 05 Apr 2014 Posts: 246
|
Posted: Fri May 08, 2015 3:01 pm Post subject: |
|
|
Why don't you reemerge wget? Portage should handle the permissions.
You could try copying wget to your home dir changing permissions, and copying it back (careful, I'venot tested this). |
|
Back to top |
|
|
|