Artifacts Associated With Ticket 2891026fffffffff
Ticket change [e8bbab5ecf] (rid 104695) by patthoyts on 2009-11-03 01:02:14:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
We are getting test failures for fCmd 9.4, 9.6, 9.9 and 9.11 on Windows 7 for both HEAD and 8.5-branch. Each of these uses the testchmod command to set the directory to 555 which seems to equate to 'attrib +r dir & cacls dir /e /d Everyone' ie: set the directory readonly and deny write access. Presumably on Unix a 555 directory can be renamed or otherwise modified by not on Win7. The actual error is a permission denied when trying to rename the directory. So I think this test is wrong here. I believe the ACL being set is probably overly restrictive if we are trying to emulate posix semantics for directory access with this. But I'm not certain of the intention of the tests in this regard for Windows. Note: these tests pass on Windows XP. I think they fail on Vista but I have not recently re-checked.
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "patthoyts"
- subsystem initialized to: "37. File System"
- title initialized to: "fCmd test failures on Windows7"
- type initialized to: "Bug"
Ticket change [d895b4b7ed] (rid 107469) by dkf on 2009-11-03 16:17:43:
- icomment:
It seems to vary. With HFS+ on OSX, I can't rename or delete a dir set to 555, or make, delete or rename files in it. (I can modify existing files though.) With NFS on Solaris, I can rename the dir (!) but otherwise the same. Maybe just mark the tests as nonPortable...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [ba3094fe63] (rid 129282) by dgp on 2009-11-05 00:50:20:
- icomment:
this is fixed now?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [f75c635f20] (rid 91367) by patthoyts on 2009-11-07 16:25:03:
- icomment:
Given the low portability of this test I've added contstraints to exclude those that use 555 directories on Windows Vista and above. That leaves them running on XP.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Ticket change [42885e05be] (rid 116399) by patthoyts on 2009-11-07 16:25:04:
- closedate changed to: "2009-11-07T09:25:04"
- closer changed to: "patthoyts"
- icomment:
allow_comments - 1
- login: "patthoyts"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "patthoyts"
Ticket change [81dbccc8e8] (rid 148263) by oehhar on 2016-07-26 12:04:32:
- assignee changed to: "aku"
- closedate changed to: "2457596.00315027"
- closer changed to: "oehhar"
- comment changed to:
We are getting test failures for fCmd 9.4, 9.6, 9.9 and 9.11 on Windows 7 for both HEAD and 8.5-branch. Each of these uses the testchmod command to set the directory to 555 which seems to equate to 'attrib +r dir & cacls dir /e /d Everyone' ie: set the directory readonly and deny write access. Presumably on Unix a 555 directory can be renamed or otherwise modified by not on Win7. The actual error is a permission denied when trying to rename the directory. So I think this test is wrong here. I believe the ACL being set is probably overly restrictive if we are trying to emulate posix semantics for directory access with this. But I'm not certain of the intention of the tests in this regard for Windows. Note: these tests pass on Windows XP. I think they fail on Vista but I have not recently re-checked.
- icomment:
Test fCmd-9.11 failed on tcl8.6.6rc1 with the following log: <verbatim> ==== cmdAH-25.3.1 Tcl_FileObjCmd: owned FAILED ==== Contents of test case: file owned $env(windir) ---- Result was: 1 ---- Result should have been (exact matching): 0 ==== cmdAH-25.3.1 FAILED </verbatim> Apparently, this test was reenabled and is still failing. Environment: * Win 10 GER 64 bit * tcl 8.6.6rc1 * VC6 + PSDK2003SP1 32bit, Makefile.vc - login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- severity changed to: "Minor"
- username: "oehhar"