Control Web Panel

WebPanel => Information => Topic started by: vipin on July 13, 2015, 02:56:38 PM

Title: Cannot Remove Certain files
Post by: vipin 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.
Title: Re: Cannot Remove Certain files
Post by: Administrator 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/