Menu

#4424 file writable broken on Windows

obsolete: 8.6b1
closed
9
2009-09-29
2009-09-13
No

Under a Vista 32bit installation testing against 8.6b1:

Standard user:

file writable "C:" == 0
file writable "C:/Program Files" == 0
close [open "C:/Program Files/foo.txt" w] == success

Admin user:

file writable "C:" == 1
file writable "C:/Program Files" == 0
close [open "C:/Program Files/foo.txt" w] == success

As you can see, in both cases Tcl reports that Program Files is not writable when both users can actually write to it. Believe me when I see that I know that Windows' file permission rules border on the sadistic, but I'm hoping that one of you guys can figure out why Tcl reports the wrong information. I haven't found a good way to get the information correctly myself, but if I don't report the bug, nothing will happen, right? 0-]

Discussion

  • Don Porter

    Don Porter - 2009-09-14

    I suspect this is related to, possibly duplicate
    of 1613456, 1661378, 1852572.

    Please check whether this is another symptom
    introduced by the fix to Bug 1193497. That fix
    appeared in release 8.4.13, so the test is to try
    releases 8.4.12 and 8.4.13 and confirm that's when
    this breakage occurred.

     
  • Don Porter

    Don Porter - 2009-09-14
    • milestone: --> obsolete: 8.6b1
    • priority: 5 --> 9
    • assigned_to: vincentdarley --> dgp
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
MongoDB Logo MongoDB