I'm trying to delete /var/www/html but I'm getting this error:
rm: cannot remove `html': Device or resource busy
debiandirectoryrmvar
I'm trying to delete /var/www/html but I'm getting this error:
rm: cannot remove `html': Device or resource busy
Best Answer
I was having the same issue, I was trying and failing to delete
with the error
rm: cannot remove
/usr/local/tomcat/data': Device or resource busy`until I noticed that
df -h
saidthat is, I had a partition mounted to that point. Mystery solved.