Cannot Remove Certain files

Started by vipin, July 13, 2015, 02:56:38 PM

Previous topic - Next topic

vipin

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.

Administrator

you need to do the following before moving files
chattr -i -R /usr1/local/cwpsrv/htdocs/admin/