Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.

wget set to immutable, cannot perform updates on cPanel

kamalkamal Member
edited June 2015 in Help

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?

  • jarjar Patron Provider, Top Host, Veteran

    @Rallias said:
    Sounds like you don't possess CAP_LINUX_IMMUTABLE. Have you tried rebooting?

  • @Jar said:

    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.

    Thanked by 1jar
  • jarjar Patron Provider, Top Host, Veteran

    Rallias said: rebooting would expose or fix both

    Totally legit I just couldn't resist the urge ;)

  • kamalkamal Member

    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 ?

  • kamalkamal Member

    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 ?

Sign In or Register to comment.