Root user can index a workspace + fix #291