Topic: Can't remove the cache folder

I installed a punBB test forum to try it out and when uninstalling it I found I can't remove the cache folder because it says the folder is not empty. However when I log in (I use a shared hosing provider) and "ls" inside the cache folder it says there aren't any contents. I then tried to "rm -r cache" from within my /forum folder and it says "usage: rmdir directory-name" but I can't use rmdir because there are contents in there.

I did "chmod 0777 cache" when installing it, is this why it is telling me I can't remove it? Setting those permisions shouldn't have affected that but I'm not a unix guru.

Any suggestions?

Thanks in advance.

P.S. I really like PunBB and will be using it on my site but I would like to get rid of the test folder.

2 (edited by CodeXP 2006-10-16 16:11)

Re: Can't remove the cache folder

Try rm -fR ./cache/

Re: Can't remove the cache folder

Thank you for your suggestion CodeXP but I got the "usage: rmdir directory-name" message again. I guess I'll contact my hosting provider and ask them to remove it, but I would like to know what caused this problem and if it was something on PunBB's end or my host's end.

Re: Can't remove the cache folder

sometimes I think they 'disable' rm -Rf' for the simple reason that it can really mess up peoples stuff ... the univ I studied on had this made with an alias on everyones resourcefiles

(could be that php wrote something in a user/group/chmod combo that you're not allowed to see ... )