Mozilla says that it 'cannot use the profile....because the directory containing the profile cannot befound.' How do I fix this?

Mozilla profiles are associated with the canonical path name; if that changes, mozilla loses track of it. For example, your server home directory will always be accessible via /net/ms/home/username, but if we move the folder to a different disk, mozilla will still look on the first disk.

The simplest was to sort this out is to remove the file appreg from your .mozilla folder and then re-add your existing profile; here's how:

  1. Note the name of your profile, either by starting mozilla or running the command find-profiles mozilla*on any of the msprime systems. Close mozilla again before you continue.
  2. Remove your appreg file:
    rm ~/.mozilla/appreg
  3. Start mozilla with the command mozilla -ProfileManager.
  4. Click 'Create Profile..', enter the exact name of your existing profile, and then click Finish; instead of creating a new profile, your existing one will be re-added with the path name corrected.

* If you are on a system on which the find-profiles command doesn't exist, you can use this command instead:

find ~/.mozilla -maxdepth 1 -mindepth 1 -type d | egrep -v "firefox|plugins"