Artifacts Associated With Ticket 759607ffffffffff
Ticket change [f6784a4cd8] (rid 130307) by lukekalemyers on 2003-06-24 03:00:57:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Safe slave init fails when given a valid, but non-normalized, -accessPath: % ::safe::interpCreate 0 -accessPath \ /opt/ActiveTcl/lib/tcl8.4/ can't source init.tcl into slave 0 (permission denied) This behavior was exposed when testing tclplugin. On one otherwise functioning Tcl installation, [info library] returned a non-normalized path. Non-normalized paths may not be widespread, but they sure can cause a lot of grief a long way from the cause. I think -accessPath should not require normalized paths or should issue a more informative error message. A patch is attached. It changes: 1.) [::safe::FileInAccessPath] to normalize paths before comparing them. 2.) [::safe::InterpInit] to report the full pathname when failing to source init.tcl.
- foundin initialized to: "obsolete: 8.4.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lukekalemyers"
- subsystem initialized to: "33. Safe Base"
- title initialized to: "Init of Safe Slave Fails"
- type initialized to: "Bug"
Add attachment "safe.tcl.patch" [7d72d0c319] (rid 97242) by lukekalemyers on 2003-06-24 10:00:58.
Ticket change [91cdff2733] (rid 120679) by lukekalemyers on 2003-06-24 10:00:58:
- icomment:
File Added - 53959: safe.tcl.patch
- login: "lukekalemyers"
- mimetype: "text/plain"
- username: "lukekalemyers"
- icomment:
Ticket change [1cbf5523f4] (rid 90669) by hobbs on 2003-07-17 05:49:44:
- closedate changed to: "2003-07-16T22:49:44"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Part 1 doesn't look right as it adds an extra [list] around the norm'ed path, which I removed. part 2 will not be applied because it potentially exposes local path info to the user, no? That's a security violation. Part 1 commited for 8.4.4 and 8.5a.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"