Overview
| Artifact ID: | 06329ae3b7e7f3bb7e6d5fe6255c0bf78f9fb8dc |
|---|---|
| Ticket: | 3099612fffffffffffffffffffffffffffffffff
false, shortcut string /../ simplification everywhere, all f |
| User & Date: | sto6 on 2010-10-31 06:15:59 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
What someone called 'lexical treatment of /../' in paths, was subject of bug 961646: [file normalize] changes file reference Much worse, 8.4.x does false, shortcut string /../ simplification EVERYWHERE, full-time for ALL access to files (i.e. not limited to file normalize). 8.4.x does not resolve symlinks ahead of the /../, before applying the '..'. $ ls -ld /etc/httpd/run lrwxrwxrwx 1 root root 13 Feb 24 2010 /etc/httpd/run -> ../../var/run $ tclsh8.4 % file stat /etc/httpd/run/../tmp/. ary; puts $ary(ino) could not read "/etc/httpd/run/../tmp/.": no such file or directory (incorrectly stats /etc/httpd/tmp, ignoring that run is symlink, not a true dir) $ tclsh8.5 % file stat /etc/httpd/run/../tmp/. ary; puts $ary(ino) 3746244 $ ls -id /etc/httpd/run/../tmp/. 3746244 /etc/httpd/run/../tmp/. Some shells (e.g. bash) offer choice of logical versus physical symlink resolution in the 'cd' command. Except for such specialized flexibility (a CHOICE to change dir relative to a symlink-unresolved path) it is never correct to do this full-time for all file access. right: 8.3.3, Solaris8 right: 8.3.5, Linux RedHat EL3U6 WRONG: 8.4.2, Solaris8 WRONG: 8.4.13, Linux Centos5.2 WRONG: 8.4.19, Linux Centos5.2, ActiveTcl 8.4.19 32bit right: 8.5.7, Mac-OS-X 10.6.4 right: 8.5.9, Linux Centos5.2, ActiveTcl 8.5.9 32bit So no bug in 8.3.x, bug in 8.4.x, and no bug in 8.5.x. How could this have plagued essentially all of 8.4.x? Now fixed again, was it deliberately targeted (what bug#)? Or is appearance, disappearance of this bug merely side-effect of dozens of other bug fixes, at risk to return again in 8.5 or later as the wind blows? ;)
- foundin changed to: "obsolete: 8.5.9"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "sto6"
- subsystem changed to: "37. File System"
- title changed to:
false, shortcut string /../ simplification everywhere, all f
- type changed to: "Bug"