Sometimes you simply need to delete /templates_c/ but your server won’t allow you.
You get errors like directory not empty or cannot find directory %%F1 and things like that.
For cPanelâ„¢ users here’s an easy way to do it.
Please Login or Register to read the rest of this content.
The only other way(s) to delete templates_c for some users is ssh as root to the server and then to rm -rf the directory. Lots of users don’t have root access though, so the above tip helps a lot.
Why does this happen? The files are owned by the script, not the user. So you don’t have the necessary permissions to delete them.
On a server that runs SuPHP, this isn’t an issue because ALL files in an account are owned by the same user.




