changing permissions on all files in cache