client open and chdir