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!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

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"

선택된 해결법

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.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (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

선택된 해결법

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.