Comment 1 for bug 433565

Revision history for this message
In , Daniel Koć (kocio) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14

When a data directory is a bad symlink (it links to not existing directory) Firefox doesn't start and gives no error message, even when run in CLI.

When run by issuing a "strace firefox" command there are two relevant lines, one by one:

access("/home/kocio/.mozilla/firefox", F_OK) = -1 ENOENT (No such file or directory)
mkdir("/home/kocio/.mozilla/firefox", 0700) = -1 EEXIST (File exists)

Looks like Firefox doesn't take symlinks into account here, but worse thing is it even doesn't inform about the error.

I get it when I share the profile between Linux and Windows - the profile is stored on the Windows partition and when it is not mounted for some reason the link becomes dead (typically not clean exit from Windows or Windows reinstallation resulting in changing the partition UUID).

Bug checked in 3.0.14+build2+nobinonly-0ubuntu0.9.04.1 version, but shows also in current Intrepid package. The newest night build of Firefox (firefox-3.7a1pre.en-US.linux-i686.tar.bz2) acts the same.

Also reported by me in Ubuntu ( https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/433565 ).

Reproducible: Always

Steps to Reproduce:
1. Change /home/user/.mozilla/firefox directory into a broken symlink
2. Start the Firefox
Actual Results:
Firefox doesn't start and gives no error messages even in CLI

Expected Results:
Firefox should start, probably with a message box informing that symlink is broken and asking if it should remove this symlink and make a new data directory or just exit leaving resolution of this problem to the user