Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-09-29
09:21 • Closed ticket [2857875fff]: file writable broken on Windows plus 6 other cha... artifact: 464e906d05 user: sf-robot
09:21 • Ticket [2857875fff]: 4 changes artifact: f7370a4f88 user: sf-robot
2009-09-14
23:28 • Pending ticket [2857875fff]. artifact: e9ea7483b1 user: dgp
23:28 • Ticket [2857875fff]: 4 changes artifact: 17598bdef9 user: dgp
2009-09-13
04:13 • New ticket [2857875fff]. artifact: 1d4945d0be user: damonc

file writable broken on Windows

Closed2857875fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-09-13 04:13:34
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-]
dgpplain2009-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.
dgp Pending ticket [2857875fff]. [History diff]2009-09-14 23:28:32
sf-robotplain2009-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-robotplain2009-09-29 09:21:45
allow_comments - 1
Log in (anonymous is fine) to add a comment.