[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: symbolinc links bug

From: Chet Ramey
Subject: Re: symbolinc links bug
Date: Mon, 19 Nov 2001 09:17:24 -0500

> Machine Type: i586-mandrake-linux-gnu
> Bash Version: 2.05
> Patch Level: 1
> Release Status: release
> Repeat-By:
> address@hidden tmp]$ mkdir -p a/b
> address@hidden tmp]$ mkdir -p a/c
> address@hidden tmp]$ ln -s a/b d
> address@hidden tmp]$ cd d
> address@hidden d]$ cd ../c

You know, by any reasonable interpretation, and according to POSIX.2,
this should fail unless you use `cd -P'.  I'm not sure that the shell
isn't doing users a disservice by succeeding here.

I'll probably make this fail in a future bash version.


``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]