Author Topic: Cannot Remove Certain files  (Read 3535 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cannot Remove Certain files
« on: July 13, 2015, 02:56:38 PM »
Hi,

My server was down due to insufficient disk space at /usr folder , I created a separate partition for /usr and sync all files to new partition. Everything seems to be file. But when I tried to remove the OLD "/usr" (renamed as usr1) encountered the following errors :

=====
mv: cannot remove `/usr1/local/cwpsrv/htdocs/admin/design': Permission denied
mv: cannot remove `/usr1/local/cwpsrv/htdocs/admin/index.php': Permission denied
mv: cannot remove `/usr1/local/cwpsrv/htdocs/admin/login.php': Permission denied

======

What is this error and anything wrong happened when I moved folder location ?

Please help.

Offline
*
Re: Cannot Remove Certain files
« Reply #1 on: July 13, 2015, 06:46:56 PM »
you need to do the following before moving files
chattr -i -R /usr1/local/cwpsrv/htdocs/admin/
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services