GNU bug report logs - #6194
pwd tracks logical paths through symlinks

Previous Next

Package: coreutils;

Reported by: eran.shaham <at> gmail.com

Date: Fri, 14 May 2010 19:23:02 UTC

Severity: normal

Tags: wontfix

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: eran shaham <eranshaham <at> gmail.com>
To: 6194 <at> debbugs.gnu.org
Subject: bug#6194: bug: pwd
Date: Fri, 14 May 2010 22:13:00 +0300
[Message part 1 (text/plain, inline)]
from:
info pwd

one get:
`pwd' prints the fully resolved name of the current directory.  That
is, all components of the printed name will be actual directory
names--*none will be symbolic links*.

When you try the following:
mkdir dirA dirB
cd dirA
ln -s ../dirB/ lnkB
cd lnkB
pwd


you get:
dirA/lnkB

where lnkB is obviously a symbolic link and not an actual directory name.

Best Regards,
Eran Shaham
[Message part 2 (text/html, inline)]

This bug report was last modified 15 years and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.