Skip to content
Tcl Source Code History Of Ticket 1100671
Login

History Of Ticket 1100671

Artifacts Associated With Ticket 1100671

  1. Ticket change [1becef7034] (rid 123237) by coldstore on 2005-01-12 05:45:41:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      tclFCmd.c line 539 in CopyRenameOneFile:
      Tcl_FSFileAttrsSet(NULL, 2, target, perm);
      tclIOUtil.c line 2980 in TclLoadFile:
      Tcl_FSFileAttrsSet(NULL, 2, copyToPtr, perm);
      
      Both assume that the -permissions file attribute has
      index 2 in the filesystem destination of the copy
      operation.
      
      This is only guaranteed to be the case for Unix native
      filesystems, as far as I can tell, and it completely
      ignores the attribute string table returned by the vfs
      layer for this file system.
      
      Either the index should be generated from the attribute
      string table, or it should be somewhere documented that
      attribute index 2 *must* be -permissions if you intend
      to use [file copy] over the vfs.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "coldstore"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "Hard-coded attribute number for -permissions"
    11. type initialized to: "Bug"
  2. Ticket change [284b6a9752] (rid 88676) by vincentdarley on 2005-01-13 00:10:31:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      The second of these two examples is not really a problem,
      since we can be sure this is in the native filesystem (and
      the importance of '2' is documented in tclUnixFCmd.c).
      
      The first of your examples might operate on any file in any
      filesystem, however, so that one is a problem...
      
      Any patch to fix the problem appreciated.
      
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  3. Ticket change [630f3a3e62] (rid 92510) by vincentdarley on 2005-01-13 01:37:54:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Can you please test the attached patch?
      
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  4. Ticket change [08c0d8679e] (rid 89614) by vincentdarley on 2005-01-13 01:37:57:

    1. icomment:
      
      
      File Added - 115595: fileperm.diff
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  5. Add attachment "fileperm.diff" [60959ad754] (rid 116024) by vincentdarley on 2005-01-13 01:37:57.

  6. Ticket change [df6b424d7f] (rid 115015) by dkf on 2005-01-14 21:17:46:

    1. assignee changed to: "dkf"
    2. foundin changed to: "obsolete: 8.5a3"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Fixed in HEAD using helper function: TclFSFileAttrIndex.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"
  7. Ticket change [c965d0e8ed] (rid 122278) by dkf on 2005-01-14 21:17:47:

    1. closedate changed to: "2005-01-14T14:17:47"
    2. closer changed to: "dkf"