set permissions for pid file dir