Overview
| Artifact ID: | 1becef7034499fe7ba42f21fc28b1e6cff7fc732 |
|---|---|
| Ticket: | 1100671fffffffffffffffffffffffffffffffff
Hard-coded attribute number for -permissions |
| User & Date: | coldstore on 2005-01-12 05:45:41 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed 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.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "coldstore"
- subsystem changed to: "37. File System"
- title changed to: "Hard-coded attribute number for -permissions"
- type changed to: "Bug"