Permit hooking in for proper cache invalidation requests.
Fix some chmod weirdness