fix tool's folder privs