Hi, chroot(2) can change the root directory of a process to specified directory and then we can use realpath(3) or use dirname() and basename() to solve the path problem easily. But we don't have privilege to use chroot(2) in linux lab. Does anyone have an easy way to solve the path problem? Thanks, Yulong