From owner-freebsd-current@FreeBSD.ORG Wed Jun 14 10:50:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F9EB16A479 for ; Wed, 14 Jun 2006 10:50:50 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7078F43D53 for ; Wed, 14 Jun 2006 10:50:48 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k5EAoWXG019330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 14 Jun 2006 13:50:33 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k5EAqk0D039782; Wed, 14 Jun 2006 13:52:46 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k5EAqkxw039724; Wed, 14 Jun 2006 13:52:46 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) To: marinosi@ceid.upatras.gr (Ilias Marinos) References: <1150278804.448fdc940d24c@my.ceid.upatras.gr> From: Giorgos Keramidas Date: Wed, 14 Jun 2006 13:52:46 +0300 In-Reply-To: <1150278804.448fdc940d24c@my.ceid.upatras.gr> (marinosi@ceid.upatras.gr's message of "Wed, 14 Jun 2006 12:53:24 +0300") Message-ID: <86d5dc57r5.fsf@gothmog.pc> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.157, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 1.24, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: getcwd() problem.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 10:50:50 -0000 On Wed, 14 Jun 2006 12:53:24 +0300, marinosi@ceid.upatras.gr wrote: > Hello people, > i have problem with the getcwd() function at -current .I get the > following errors: > 1. When i try to change directory: > chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory > getcwd: cannot access parent directories: No such file or directory What are the steps you have taken to reach this point? We have to be able to reproduce the same thing, if there is a bug somewhere. > 2.When i try to use tab auto completion: > symlink-hook: error retrieving current directory:getcwd: cannot access parent directories: No such file or directory When do you hit TAB? Have you logged in? What is the setting of your HOME directory in /etc/passwd? Can you change directories if you use an absolute pathname like: # cd / > 3.When i start up an xterm : > shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory It seems your HOME directory points to a location that doesn't exist. Can you verify that /etc/passwd contains the right path, that this path exists and that you do have the necessary permissions for that directory? - Giorgos