Sets cache permissions to fix #39