<i>cmdAH-25.2 (Tcl_FileObjCmd: owned) fails on Windows</i> status still Pending with 3 other changes
by
.
D 2019-09-12T16:16:40.203
J icomment On\sthe\sWin10\sPC\swhere\scmdAH-25.3.1\sis\sfailing,\sthe\sowner\sof\s<code>C:\\Windows</code>\sis\s'TrustedInstaller'.\sThat's\snot\sme.\r\n\r\nWhat\sis\sweird\sis\sthat\srunning\s<code>file\sowned\s$env(windir)</code>\sdirectly\sin\stclsh\sreturns\sthe\s0\sexpected\sby\sthe\stest.\r\n\r\nSo\sthe\stest\smust\sbe\stesting\sthe\sowner\sof\s<code>$env(windir)</code>\sbut\sthis\svariable\sdoes\snot,\sat\sthe\stime\sthe\stest\sis\sexecuted,\scontain\s<code>C:\\Windows</code>.\sAdding\sa\sputs\sinside\sthe\stest\sindeed\sreveals\sthat\s<code>$env(windir)</code>\sactually\sis\s<code>E:\\tcltk-fossil\\tcl\\win\\..\\win</code>,\si.e.\sthe\s'win'\ssubdirectory\sof\sthe\stcl\srepository.\r\n\r\nOn\sthe\sVista\sPC\son\swhich\scmdAH-25.3.1\sis\spassing,\sthe\sowner\sof\s<code>C:\\Windows</code>\salso\sis\s'TrustedInstaller',\swhich\sis\snot\sme.\sThe\sputs\sin\scmdAH-25.3.1\sreveals\sthat\sagain\s<code>$env(windir)</code>\sis\snot\s<code>C:\\Windows</code>\sbut\sthe\s'win'\ssubdirectory\sof\sthe\stcl\srepository.\sSo\son\sthis\sVista\sPC\sthe\stest\spasses\sby\spure\saccident.\r\n\r\nConclusion:\scmdAH-25.3.1\sis\snot\stesting\sthe\sowner\sof\s<code>C:\\Windows</code>\sas\swas\sprobably\sthe\soriginal\sintent.\sIt\sseems\sthat\ssomething\ssets\s<code>$env(windir)</code>\sso\sthat\sit\srather\scontains\sthe\s'win'\ssubdirectory\sof\sthe\stcl\srepository,\sand\sthe\stest\spasses\sor\sfails\sdepending\son\swhich\suser\sruns\sthe\stests.\sI\sthink\sthe\soriginal\sintent\sin\scmdAH-25.3.1\srather\swas\sto\stest\ssomething\slike\s<code>file\sowned\s$env(SystemRoot)</code>,\sdon't\syou\sthink\sso?
J login fvogel
J mimetype text/x-fossil-wiki
K 7de2d722bd599da5db26b42ed8addb16a66c832c
U fvogel
Z e2ccf8d0f76852822c88b2a0d44f169c