Overview
| Artifact ID: | d85f222ec9636a6d4cc584835be83533cc923295 |
|---|---|
| Ticket: | cdd157d4849df09ab1d594938aa0d2f4694d643f
file copy -force does an invalid call to open |
| User & Date: | aspect on 2016-07-19 03:58:01 |
Changes
- icomment:
> I suspect TCL to blindly reuse the flag gained by the stat command but it should only use the lower bits. This appears to be the case: http://core.tcl.tk/tcl/artifact/1b60acbf412a1ef8?ln=574 This looks like the right place to mask the permissions parameter, but we should be careful. To quote more fully from the Linux manual: > According to POSIX, the effect when other bits (than 0777) are set in > mode is unspecified. On Linux, the following bits are also honored in > mode: (refers to mode & 07000 - setu/gid and sticky bits). Should [file copy] on Linux also copy these bits? What about other unixes? This smells like one of those dusty under-specified corners of POSIX where the right thing for all platforms is not always going to be obvious.
- login: "aspect"
- mimetype: "text/plain"