Skip to content
Tcl Source Code Artifact [d85f222ec9]
Login

Artifact [d85f222ec9]

Artifact d85f222ec9636a6d4cc584835be83533cc923295:

Ticket change [d85f222ec9] - Ticket [cdd157d4849df09a|cdd157d484] <i>file copy -force does an invalid call to open</i> status still Open with 3 other changes by aspect on 2016-07-19 03:58:01.
D 2016-07-19T03:58:01.315
J icomment >\sI\ssuspect\sTCL\sto\sblindly\sreuse\sthe\sflag\sgained\sby\sthe\sstat\scommand\sbut\sit\sshould\sonly\suse\sthe\slower\sbits.\r\n\r\nThis\sappears\sto\sbe\sthe\scase:\r\n\r\n\s\shttp://core.tcl.tk/tcl/artifact/1b60acbf412a1ef8?ln=574\r\n\r\nThis\slooks\slike\sthe\sright\splace\sto\smask\sthe\spermissions\sparameter,\sbut\swe\sshould\sbe\scareful.\s\sTo\squote\smore\sfully\sfrom\sthe\sLinux\smanual:\r\n\r\n>\sAccording\sto\sPOSIX,\sthe\seffect\swhen\sother\sbits\s(than\s0777)\sare\sset\sin\r\n>\smode\sis\sunspecified.\s\sOn\sLinux,\sthe\sfollowing\sbits\sare\salso\shonored\sin\r\n>\smode:\r\n\r\n(refers\sto\smode\s&\s07000\s-\ssetu/gid\sand\ssticky\sbits).\r\n\r\nShould\s[file\scopy]\son\sLinux\salso\scopy\sthese\sbits?\s\sWhat\sabout\sother\sunixes?\r\n\r\nThis\ssmells\slike\sone\sof\sthose\sdusty\sunder-specified\scorners\sof\sPOSIX\swhere\r\nthe\sright\sthing\sfor\sall\splatforms\sis\snot\salways\sgoing\sto\sbe\sobvious.
J login aspect
J mimetype text/plain
K cdd157d4849df09ab1d594938aa0d2f4694d643f
U aspect
Z 4cdfa3431216f567f7db93a16bcc459a