lkml.org 
[lkml]   [2004]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: cp fails in this symlink case, kernel 2.4.25, reiserfs + ext2
    From
    Date
    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.

    --
    David Kleikamp
    IBM Linux Technology Center

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:02    [W:4.251 / U:0.972 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site