implement uid/gid lookup, symlinks almost working