Skip to content
Tcl Source Code History Of Ticket 1344540
Login

History Of Ticket 1344540

Artifacts Associated With Ticket 1344540

  1. Ticket change [3084b5cdb0] (rid 93270) by jfg118 on 2005-11-01 05:21:57:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      [Duplicate BUG 1193497 -- to allow file attachment]
      
      file writable lies for certain XP directories  
      Windows XP SP2 french, Tcl/Tk cvs HEAD
      
      file writable "C:/Documents and 
      Settings/<account>/Mes Documents/mydir"
      returns 1 if mydir does exist, or 0 if not.
      This is correct.
      
      file writable "C:/Documents and Settings/"
      returns also 1, which is correct.
      
      But:
      file writable "C:/Documents and 
      Settings/<account>/Mes Documents"
      returns 0 but it should be 1
      
      <account> is my account name (with administrator 
      rights), this directory of course exists and I'm allowed to 
      write files in it.
      
       ===
      
      Attached files implement a solution based on the 
      original bug. The source is based on the Tcl 8.4.11 
      source and encompasses the changes by dkf. The 
      patch should still be easily applied on the CVS HEAD.
      
      
    4. foundin initialized to: "obsolete: 8.4.11"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jfg118"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "file writable lies for certain XP directories"
    11. type initialized to: "Patch"
  2. Ticket change [6a9dc92b0e] (rid 128185) by jfg118 on 2005-11-01 12:21:58:

    1. icomment:
      
      
      File Added - 154636: win-tclWinFile.c.diff-u
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  3. Ticket change [19589ea2eb] (rid 122794) by jfg118 on 2005-11-01 12:23:07:

    1. icomment:
      
      
      File Added - 154637: win-tclWin32Dll.c.diff-u
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  4. Ticket change [c8217593b3] (rid 122059) by jfg118 on 2005-11-01 12:24:22:

    1. icomment:
      
      
      File Added - 154638: win-tclWinInt.h.diff-u
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  5. Ticket change [d37673bd5b] (rid 123295) by dkf on 2005-11-01 18:34:22:

    1. foundin changed to: "None"
    2. icomment:
      
      
      data_type - 310894
      
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. subsystem changed to: "37. File System"
    6. username: "dkf"
  6. Ticket change [bb1a5c011e] (rid 129422) by fvogelnew1 on 2005-12-02 03:17:46:

    1. icomment:
      Logged In: YES 
      user_id=1245417
      
      Hi, 
       
      Could you please apply your patch at least to the 8.4.11 
      branch so that it will be included in the upcoming 8.4.12? 
       
      I really need this feature. 
       
      Thanks a lot, 
      Francois 
       
      
      
    2. login: "fvogelnew1"
    3. mimetype: "text/plain"
    4. username: "fvogelnew1"
  7. Ticket change [084b7ff720] (rid 89538) by fvogelnew1 on 2006-03-06 02:56:02:

    1. icomment:
      Logged In: YES 
      user_id=1245417
      
      Hi all,
      
      It's now ten months since I opened the original bug 
      (1193497), and 4 months since a patch has been kindly 
      derived, and I really thank you for that.
      
      Everything seems to be ready for inclusion in the next Tcl 
      release, but nothing happens. Why?
      
      What can I do to speed up the process? Can I be of any 
      help, or should I just wait for some TCT member to review 
      the patch and apply it to the codebase?
      
      I'm more than willing to help, but can't find any advice 
      on how to do it. My knowledge of Tcl internals or ACL list 
      is rather limited, but I'm ready to try whatever task is 
      required.
      
      Thanks,
      Francois
      
      
      
    2. login: "fvogelnew1"
    3. mimetype: "text/plain"
    4. username: "fvogelnew1"
  8. Ticket change [1fed3c0f06] (rid 91228) by patthoyts on 2006-03-08 04:59:49:

    1. icomment:
      Logged In: YES 
      user_id=202636
      
      As it stands this patch cannot be applied as it requires
      Win32 API features that are only available on NT systems.
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  9. Ticket change [fc5972fb8d] (rid 108224) by jfg118 on 2006-03-08 05:25:00:

    1. icomment:
      Logged In: YES 
      user_id=1266631
      
      How does Tcl handle other similar situations?  
      
      It seems that it would be straight forward to use the old
      method when running on non NT systems.  
      
      From what I can see from MSDN the functions are available on
      all Windows NT versions newer than 3.51.  This would mean it
      would only be a problem on Win95/98/Me.  One could probably
      dynamically load the DLL entry points, and if it fails fall
      back to the old implementation.
      
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  10. Ticket change [9641df49e0] (rid 106294) by jfg118 on 2006-03-09 07:22:51:

    1. icomment:
      Logged In: YES 
      user_id=1266631
      
      Attached is a new patch which dynamically loads the NT
      specific Windows API functions.  If the Windows API
      functions can not be found, the fallback is to use the read
      only flag as the function previously was implemented.
      
      The attached patch is now a single file which has been
      generated against the Tcl 8.4.12 source code.  The change
      should be easily applied on CVS HEAD.
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  11. Ticket change [da7a0cd28c] (rid 107795) by jfg118 on 2006-03-09 07:22:52:

    1. icomment:
      
      
      File Deleted - 154638: 
      
      
      
      File Added - 170266: win-tclWinFile.c.diff-u
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  12. Ticket change [94e4c8c4b9] (rid 106077) by jfg118 on 2006-03-09 07:22:53:

    1. icomment:
      
      
      File Deleted - 154636: 
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  13. Ticket change [9f9f38f28b] (rid 96669) by vincentdarley on 2006-03-09 18:30:43:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Applied to cvs HEAD.
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  14. Ticket change [293a063771] (rid 88837) by fvogelnew1 on 2006-03-09 19:36:31:

    1. icomment:
      Logged In: YES 
      user_id=1245417
      
      Many many thanks to all contributors for this effort. I 
      really appreciate it.
      
      I understand that the next 8.5 release will then include 
      the patch.
      
      Is there any chance to have it also in the upcoming 
      8.4.13? I would switch to 8.4.13 rather than 8.5 which is 
      still alpha.
      
      Thanks again,
      Francois
      
      
      
    2. login: "fvogelnew1"
    3. mimetype: "text/plain"
    4. username: "fvogelnew1"
  15. Ticket change [a26d53c6dd] (rid 109892) by jfg118 on 2006-03-11 05:13:12:

    1. icomment:
      Logged In: YES 
      user_id=1266631
      
      Updated patch to only ignore the read-only flag if it is a
      directory, as the directory is the only special case.
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  16. Ticket change [a2fa165764] (rid 109983) by jfg118 on 2006-03-11 05:13:13:

    1. icomment:
      
      
      File Deleted - 170266: 
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  17. Add attachment "win-tclWinFile.c.diff-u" [7e53ab043d] (rid 97393) by jfg118 on 2006-03-11 05:13:59.

  18. Ticket change [94335451e1] (rid 105946) by jfg118 on 2006-03-11 05:14:00:

    1. icomment:
      
      
      File Added - 170510: win-tclWinFile.c.diff-u
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  19. Ticket change [6694262218] (rid 102737) by jfg118 on 2006-03-14 06:57:39:

    1. icomment:
      Logged In: YES 
      user_id=1266631
      
      Attached patch based on Tcl 8.4.12.  The patch modified the
      testchmod command to apply an ACL change on windows to make
      the directory non writable. Detailed testcase analysis on
      duplicate bug 1193497.
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  20. Add attachment "generic-testTcl.c.diff-u" [b829391a27] (rid 128925) by jfg118 on 2006-03-14 06:57:39.

  21. Ticket change [7c8b36ec6f] (rid 97097) by jfg118 on 2006-03-14 06:58:07:

    1. icomment:
      
      
      File Added - 170804: generic-testTcl.c.diff-u
      
      
      
    2. login: "jfg118"
    3. mimetype: "text/plain"
    4. username: "jfg118"
  22. Ticket change [1c651a7e4b] (rid 90597) by vincentdarley on 2006-03-20 02:37:48:

    1. closedate changed to: "2006-03-19T19:37:48"
    2. closer changed to: "vincentdarley"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"