Damon Courtney

Show:

What's happening?

  • Comment: file writable broken on Windows

    The last result, for the latest release, is the most important. Note that while [file writable] SAYS that C:/Program Files is not writable, the user IS able to create a file in there. That is the problem. The rest of the results in the latest release seem to be true.

    2009-10-15 15:00:11 UTC in Tcl

  • file writable broken on Windows

    This is a dup of bug #2857875, which was closed by SF while I was off having a baby. The following script was run on a Vista 32 bit installation with the given results: puts "Tcl Version = [info patchlevel]" set file tmp[pid].txt foreach dir [list C:/ "C:/Program Files" $::env(LOCALAPPDATA)] { if {[file writable $dir]} { puts "$dir is writable" } else { puts...

    2009-10-14 22:41:41 UTC in Tcl

  • file writable broken on Windows

    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...

    2009-09-13 04:13:35 UTC in Tcl