Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ab0dc3248e9566e14788d18fff8f8a05415879f0
Ticket: 929534ffffffffffffffffffffffffffffffffff
OS X: filesystem FAILED link normalisation
User & Date: tauvan on 2004-04-30 03:08:15
Changes

  1. icomment:
    Logged In: YES 
    user_id=1011552
    
    /tmp is a symlink to /private/tmp.   /tmp -> private/tmp
    At the time when
    Tcl_EvalEx: script = file exists /tmp/tcl.foo.dir/file]\n\n
    /private/tmp/tcl.foo.dir/file exists but can only be read as root.
    /private/tmp can be read as local and root.
    /tmp can be read as local and root.
    The nativePath in TclpObjNormalizePath passed to the first realpath
    is /tmp/tcl.foo.dir. It returns NULL with normPath set to /tmp.
    The slow way then pieces /tmp/tcl.foo.dir/file with accesses = OK.
    The second realpath fails with normPath set to /tmp.
    This leaves fsPathPtr->normPathPtr = /tmp/tcl.foo.dir/file.
    
      The true normalized name is /private/tmp/tcl.foo.dir/file and is not 
    being reported.
      The test succeeds but normalization fails as /private/tmp/tcl.foo.dir/
    file and /tmp/tcl.foo.dir/file are the same file.
    
    
  2. login: "tauvan"
  3. mimetype: "text/plain"
  4. username: "tauvan"