Overview
| Artifact ID: | 956fbdbb88961ebd74587d1fba9248314727585c |
|---|---|
| Ticket: | 3092089fffffffffffffffffffffffffffffffff
[file normalize] can remove path components |
| User & Date: | oehhar on 2013-01-07 23:22:19 |
Changes
- icomment:
Here is the documentation of a E-Mail conversation with Jan: Jan Nijtmans wrote: > At this moment, I'm simply puzzled why io-39.8 and io-39.9 fail to > open file $path(test1) for writing. io-39.6 and io-39.7 (and earlier) > do exactly the same, so why do the others pass. ??????? No idea neither... > I think that question needs to be answered before being able > to go on on this one. I tried to create a junction too, as you did, > trying to reproduce it, but I don't seem to be able to create it > with the 'right' permissions to get your result ...... Do you also have Vista 32 bit Professional ? AFAIK, the home edition does lack some property controls in the Windows explorer. I have retried my instructions on http://sourceforge.net/tracker/?func=detail&atid=110894&aid=3587096&group_id=10894 Here is the protocol: - create c:\test2\tcl8513 with the whole tcl distribution and the exe path: c:\test2\tcl8513\bin\wish85.exe - Start a dos box with administrator privileges - in the dos box: C:\Windows\system32>cd \ C:\>mklink /j test2_junction2 test2 Verbindung erstellt für test2_junction2 <<===>> test2 C:\>test2_junction2\tcl8513\bin\wish85.exe <Dos box end> Wish starts as expected. - in Windows Explorer - go to c:\ - Right click on "c:\test2_junction2" - Choose "Properties" - Card "Security" - Button "Change" (with Admin sign) Window "Permissions for test2_junction2" opens - click "any" in user name pane - Click the deny checkbox for "Show Folder" (See attached screenshot) - Press ok - a warning appears - press ok - Go to the dos box and type (again): C:\>test2_junction2\tcl8513\bin\wish85.exe Now, the tcl error box appears for me... > So, any idea is welcome now. For example, what happens if you > put tests io-39.8 and io-39.9 before io-39.6 and io-39.7? Do > they still fail then? How may I reorder the tests ? Do I have to rename them ? Or just run some tests by a test pattern ? I have rerun the tests in an administrator dos box two times. Failed tests: filesystem-1.3: first and second run filesystem-1.4: first and second run io-39.9: only first run !!! ==== io-39.9 Tcl_SetChannelOption, blocking mode FAILED ==== Contents of test case: file delete $path(test1) set f1 [open $path(test1) w] close $f1 set f1 [open $path(test1) r] set x "" lappend x [fconfigure $f1 -blocking] fconfigure $f1 -blocking off lappend x [fconfigure $f1 -blocking] lappend x [gets $f1] lappend x [read $f1 1000] lappend x [fblocked $f1] lappend x [eof $f1] close $f1 set x ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't open "C:/test/tcl-bug-3092089/win/test1": permission de nied while executing "open $path(test1) w" ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EACCES {permission denied} ==== io-39.9 FAILED - login: "oehhar"
- mimetype: "text/plain"
- username: "oehhar"