Closed
Bug 153768
Opened 23 years ago
Closed 23 years ago
Startup script doesn't handle softlinks correctly
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: deane, Assigned: Matti)
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610 BuildID: 2002061108 The "mozilla" shell script contains an 'until' loop which will exit if "run-mozilla.sh" is found, or "$progname" is not a link. The loop first tests to see if "run-mozilla.sh" can be found in the same directory as "$progname". If not, then it dereferences "$progname" by following the link, and the loop continues. However, this is backwards: when the final link is dereferenced, the loop will will see that "$progname" no longer contains a link and will exit *before* testing to see if the new directory contains "run-mozilla.sh". It should do the dereference first, *then* check to see if the new directory contains "run-mozilla.sh". As a result, if you softlink to the "mozilla" script then try to run it through that link, it will fail and say that it cannot find the runtime directory. Reproducible: Always Steps to Reproduce: 1.Install 1.1a into /usr/local/mozilla 2.ln -s /usr/local/mozilla/mozilla /usr/local/bin/mozilla 3.run /usr/local/bin/mozilla Actual Results: Got the following message: Cannot find mozilla runtime directory. Exiting. Expected Results: Mozilla should have run.
Assignee | ||
Comment 1•23 years ago
|
||
*** This bug has been marked as a duplicate of 57866 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•