fixed pid directory chownage