link docroot idempotently