assume current user owns scratch dir