set search root path & writable path