Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No permissions for wget.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Fri May 08, 2015 2:41 pm    Post subject: No permissions for wget. Reply with quote

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
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Fri May 08, 2015 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
bstaletic
Apprentice
Apprentice


Joined: 05 Apr 2014
Posts: 246

PostPosted: Fri May 08, 2015 3:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum