Author Topic: Can't update CWP Files (The encoded file expired) (can't update CWP files)  (Read 1631 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Well known problem, so i wan't to update files manually:
Code: [Select]
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...
Code: [Select]
[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?

Offline
*
removed immutable tag, worked fine now

Offline
****
Yes, anything under /usr/local/cwpsrv you will have to clear the immutable bit.
Code: [Select]
chattr -i <file>