New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
wget set to immutable, cannot perform updates on cPanel
I was frequently getting error while trying to upgrade to latest version of cPanel which is 11.50 .. upon further investigating I found the following :
root@server1 [/usr/bin]# lsattr wget
----i--------e- wget
but for other executables in the directory /usr/bin the attribute shows
root@server1 [/usr/bin]# lsattr man
-------------e- man
also I tried the following but am unable to remove the immutable attribute
root@server1 [/usr/bin]# chattr -i wget
-bash: /usr/bin/chattr: Permission denied
How can I remove the Immutable attribute from the file, please help
Thank you in advance.
Comments
Sounds like you don't possess CAP_LINUX_IMMUTABLE. Have you tried rebooting?
In all due fairness, I see 2 possibilities... disk corruption or someone being a dickhead and immuting a file while making root unable to undo... rebooting would expose or fix both.
Totally legit I just couldn't resist the urge
After reboot is there any guarantee that it might start properly ? Since it's a VPS will the hosting provider be able to remove the immutable attribute ?
Also the root folder has i setup .. I cannot remove the immutable attribute on the root folder also
chattri -i /root -bash: /usr/bin/chattr: Permission denied
So was the server compromised ?