Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Unable to launch Firefox profile from "/" directory in Ubuntu22

more options

OS - Ubuntu22 Firefox - Default firefox on ubuntu22 (Mozilla Firefox 103.0.1)

Use case - 1. Custom profile folder (named prof1) contains pref.js and chrome folder with custom css file. 2. prof1 is created in -> "/customData/profiles/prof1" 3. The folder "/customData" has full rwx permissions and is owned by $USER (not by root)

Output -> 1. When launching firefox mentioning the profile -> "$ firefox --profile /customData/profiles/prof1"

The browser does not load, but there is an error box saying Profile Missing Your Firefox profile cannot be loaded. It may be missing or inaccessible.


Questions -> 1. Is it possible to load firefox profile from root directory ? 2. If custom profile folder is created in "/home", then it is launching and working perfectly. How is this possible when the permissions and owner is same as the one in "/customData"

OS - Ubuntu22 Firefox - Default firefox on ubuntu22 (Mozilla Firefox 103.0.1) Use case - 1. Custom profile folder (named prof1) contains pref.js and chrome folder with custom css file. 2. prof1 is created in -> "/customData/profiles/prof1" 3. The folder "/customData" has full rwx permissions and is owned by $USER (not by root) Output -> 1. When launching firefox mentioning the profile -> "$ firefox --profile /customData/profiles/prof1" The browser does not load, but there is an error box saying Profile Missing Your Firefox profile cannot be loaded. It may be missing or inaccessible. Questions -> 1. Is it possible to load firefox profile from root directory ? 2. If custom profile folder is created in "/home", then it is launching and working perfectly. How is this possible when the permissions and owner is same as the one in "/customData"

Soluție aleasă

The Snap version has limited permissions and likely won't be able to access a profile folder outside your home folder. This version also creates its default profile in a different place (i.e. not in ~/.mozilla and ~/.cache/mozilla).

You will have to use Firefox from the Mozilla server.

Citește acest răspuns în context 👍 0

Toate răspunsurile (4)

more options

Are using Firefox from the Mozilla server as other versions like from Snap might have restrictions on where to place the profile folder?

more options

I am using the default firefox which comes pre installed in ubuntu22. It is snap firefox.

more options

Soluție aleasă

The Snap version has limited permissions and likely won't be able to access a profile folder outside your home folder. This version also creates its default profile in a different place (i.e. not in ~/.mozilla and ~/.cache/mozilla).

You will have to use Firefox from the Mozilla server.

more options

Thanks a lot, It solved the problem.

With firefox from Mozilla server, able to load profiles from / directory.