Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aa99cfb1d7aea67978915e2170d5732e3b49b1ad
Ticket: 1193497fffffffffffffffffffffffffffffffff
file writable lies for certain XP directories
User & Date: jfg118 on 2006-03-14 08:36:38
Changes

  1. icomment:
    Logged In: YES 
    user_id=1266631
    
    From the Tcl documentation : -readonly gives the value or
    sets or clears the readonly attribute of the file.
    
    I would think the test should be querying the -readonly
    attribute not necessarily "assuming" it makes a directory
    non-writable.
    
    The problem with making -readonly change the ACL list is it
    is highly dependent on the user.  For user A and B a
    different ACL changes may need to be applied.  To make the
    patch simplistic for testing, the testchmod command simply
    creates a "Deny Entry" for "Everyone" and then removes the
    exact "Deny Entry" to make it writable as it was. However
    adding various other groups or users could accomplish the
    same thing.
    
    I much rather see an extension to control the acl file
    operations more directly. E.g. something like -acl
    <user|group>[+-=]<read|write|etc...>[|<attr>]...,
    encompassing the multitude of windows ACL attributes... The
    code in the patch could be adapted to do more generic changes.
    
    
    
    
  2. login: "jfg118"
  3. mimetype: "text/plain"
  4. username: "jfg118"