Clearing cache errors

Permalink
I need to clear the cache on one of my sites as outdated information is showing. However I am getting a host of errors (see below). Concrete V5.6.3. Does anyone know the fix?

Warning: unlink(/home/domain/httpdocs/files/cache/css/bon_appetit_pro/typography.css): Permission denied in /home/domain/httpdocs/concrete/core/helpers/file.php on line 101

Warning: rmdir(/home/domain/httpdocs/files/cache/css/bon_appetit_pro): Permission denied in /home/domain/httpdocs/concrete/core/helpers/file.php on line 99

Warning: rmdir(/home/domain/httpdocs/files/cache/css): Directory not empty in /home/domain/httpdocs/concrete/core/helpers/file.php on line 99

Further errors removed as it's boring

wildfirelondon
 
Parasek replied on at Permalink Reply
Parasek
Try to remove files manually from /files/cache (except index.html) uzing ftp client (like FileZilla) and see if problem still persist.
A3020 replied on at Permalink Best Answer Reply
A3020
It's a permission issue. Apache or whatever web server you're running should be able to remove the files. Your webhost probably knows how to fix this.

P.S. it's probably a good idea to remove the company name from your post, Google will index it.
wildfirelondon replied on at Permalink Reply
wildfirelondon
Thanks for that. I had a look and the cache directory hadn't recursed chmod 777 down. Once I did that it worked a treat. Unfortuately I can't edit the post to remove the domain. :(
A3020 replied on at Permalink Reply
A3020
You should be able to edit the post, there's an edit link under the topic title.

And although 777 may have solved your problem, it's generally not a good idea. It depends on the server configuration so better ask your web host. If he says it should be 777, I'd start looking elsewhere.