fix permissions for delete cache