Overview
| Artifact ID: | f424657836a2144cba667512f3408334385caa1d |
|---|---|
| Ticket: | 849514ffffffffffffffffffffffffffffffffff
Absolute pathnames with ../ and links |
| User & Date: | vulpeculus on 2003-11-27 14:32:08 |
Changes
- icomment:
Logged In: YES user_id=917954 The bug IS still ion 8.4.5. What I wanted to say that it probably first occured between 8.3.1 and 8.4.1. In your example /home/dist is a link to /tmp/dist So /home/dist/../jeffh/.cshrc is /tmp/jeffh/.cshrc, not /home/jeffh/.cshrc (try it e.g. with ls in any shell). However, as long as you do not have a file /tmp/jeffh/.cshrc, the open command from your example should return an error "no such file or directory", instead of opening the wrong file. The same behaviour can also be found with a non-existing directory in your pathname: open /home/jeffh/nonexistentdir/../.cshrc fails in 8.3.1 (correct), but succeeds in 8.4.5 (incorrect)
- login: "vulpeculus"
- mimetype: "text/plain"
- resolution changed to: "None"
- status changed to: "Open"
- username: "vulpeculus"