Can't update CWP Files (The encoded file expired) (can't update CWP files)

Started by DangerD2, February 19, 2023, 08:30:40 PM

Previous topic - Next topic

DangerD2

Well known problem, so i wan't to update files manually:
cd /usr/local/cwpsrv/htdocs

wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.945.zip
unzip -o cwp2-0.9.8.945.zip
rm -f cwp2-0.9.8.945.zip


But i have permission error...
[root@server]# rm -f /usr/local/cwpsrv/htdocs/admin/index.php
rm: cannot remove `/usr/local/cwpsrv/htdocs/admin/index.php': Operation not permitted

o_O

Any ideas?


overseer

Yes, anything under /usr/local/cwpsrv you will have to clear the immutable bit.
chattr -i <file>