mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Rode <martin.rode@zeroscale.com>
To: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: cp fails in this symlink case, kernel 2.4.25, reiserfs + ext2
Date: Thu, 08 Apr 2004 09:56:37 +0200	[thread overview]
Message-ID: <1081410996.3770.1405.camel@marge.pf-berlin.de> (raw)
In-Reply-To: <1081365374.11164.24.camel@shaggy.austin.ibm.com>

On Wed, 2004-04-07 at 21:16, Dave Kleikamp wrote:
> On Wed, 2004-04-07 at 12:35, Martin Rode wrote:
> > 5) cp fails
> > apu:/home/martin/tmp/bug# (cd alpha/beta; cp ../latest/myfile .)
> > cp: cannot stat `../latest/myfile': No such file or directory
> 
> When you cd to alpha/beta, your current directory is really
> .../tmp/bug/beta.  Your shell may remember that you got there through
> the symlink in alpha, but cp will follow .., which is really bug.

Bug in "cp", "bash" or in the kernel fs-layer? 

Martin

-- 
Zeroscale GmbH & Co.
Game Development


  reply	other threads:[~2004-04-08  8:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-07 17:35 Martin Rode
2004-04-07 19:16 ` Dave Kleikamp
2004-04-08  7:56   ` Martin Rode [this message]
2004-04-08  9:24     ` Andreas Schwab
2004-04-10 19:52       ` Andries Brouwer
2004-04-08 21:17     ` Michael Driscoll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1081410996.3770.1405.camel@marge.pf-berlin.de \
    --to=martin.rode@zeroscale.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shaggy@austin.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®