Working directory for firefox is not users home dir.

Bug #375894 reported by Jarl on 2009-05-13
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Undecided
Unassigned
Nominated for Karmic by Jarl
Nominated for Lucid by Jarl
firefox-3.5 (Ubuntu)
Undecided
Unassigned
Nominated for Karmic by Jarl
Nominated for Lucid by Jarl

Bug Description

On Kubuntu Jaunty when I start firefox from the menu the working directory is "~/Dokumenter" (danish for "~/Documents"), this causes problems for homebanker applets.

When login into my homebank (using icedtea6-plugin) I therefore manually have to find the private key file (named EBJKS.ebjkeystore) which is located in my home-dir. Further when I later have to confirm transactions it fails again because it cannot find the private key-file. When starting firefox in my home-dir, the login applet automatically finds my private key file and fills out the usernumber (I only have to supply a password).

A quick workaround is of course to create your own ~/.local/share/applications/firefox.desktop file with a entry for "Path" specifying your home-dir. However it would be a huge improvement to ubuntu if this was not necessary for all users to do.

The fix should be applied to the file /usr/share/applications/firefox.desktop, hence it is repoorted to firefox-3.0-branding.

Jarl (jarl-dk) wrote :

By the way, in Intrepid the working directory for firefox was users home-dir (not ~/Dokumenter).

Another thing: Working directory does not only affect homebanker java applets, it also affects behaviuor when uploading files to webforms. In this scenario the starting directory of the open-file dialog is working directory, however the consequences in these cases are minimal.

Lars Ljung (larslj) wrote :

Is this really a bug? It seems to me that you could just move EBJKS.ebjkeystore to ~/Documents to solve your problem.

Jarl (jarl-dk) wrote :

Good question. However I would like to ask, is it intentionally that this (the working directory of firefox) has changed from Intrepid ("~") to Jaunty ("~/Documents") ?

As I mentioned, there is also another way to solve the problem, namely to set Path in the firefox.desktop file.

description: updated
Jarl (jarl-dk) wrote :

This is still the case in Karmic.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers