Tcl Source Code

View Ticket
Login
Ticket UUID: 2857875
Title: file writable broken on Windows
Type: Bug Created on: 2009-09-13 04:13:34
Submitter: damonc Assigned to: dgp
Subsystem: 37. File System Severity:
Priority: 9 Immediate Last modified: 2009-09-29 09:21:45
Status: Closed Closed by: sf-robot
Resolution: None Closed on: 2009-09-29 02:21:45
Version: obsolete: 8.6b1
Description:
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-]
User Comments:
dgp added on 2009-09-14 23:28:30:
I suspect this is related to, possibly duplicate
of 1613456, 1661378, 1852572.

Please check whether this is another symptom
introduced by the fix to Bug 1193497.  That fix
appeared in release 8.4.13, so the test is to try
releases 8.4.12 and 8.4.13 and confirm that's when
this breakage occurred.

sf-robot added on 2009-09-29 09:21:41:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

sf-robot added on 2009-09-29 09:21:45:

allow_comments - 1