Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 66b034a64010b271e7124de442d1c1890a49519c
Ticket: 749876ffffffffffffffffffffffffffffffffff
NTFS: [file writable $directory] lies
User & Date: dgp on 2003-06-05 23:20:49
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    [file writable $directory] returns 1, yet
    [open [file join $directory newFile] w] fails.
    
    More detail from original user report:
    
    "On Windows, with the NTFS file system,
    there appears to be two ways to
    set file permissions.  You can use the old FAT
    based system, where you can set a read-only
    attribute bit.  It looks like this is what is
    checked by the Tcl 'file writable' command.
    Alternatively, there is a "security" tab in the file
    properties dialog box, which allows you to
    grant various access on a group-by-group basis.
    I've been testing this against Tcl 8.4.2 (Active
    Tcl release), and haven't found any way to
    detect the latter restriction, other than trying the
    access directly."
    
  4. foundin changed to: "obsolete: 8.4.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "36. Pathname Management"
  10. title changed to: "NTFS: [file writable $directory] lies"
  11. type changed to: "Bug"