setup the pid inside parent dir to handle the non-root case