Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1d4945d0be398703318516e40a3546a95a9acdfb
Ticket: 2857875fffffffffffffffffffffffffffffffff
file writable broken on Windows
User & Date: damonc on 2009-09-13 04:13:34
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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-]
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "damonc"
  10. subsystem changed to: "37. File System"
  11. title changed to: "file writable broken on Windows"
  12. type changed to: "Bug"