check permission to divert search and specify config path