Firefox does not load all profile information properly after running in sudo (Ubuntu)

UNCONFIRMED
Unassigned

Status

()

Toolkit
Startup and Profile System
P5
normal
UNCONFIRMED
2 years ago
10 months ago

People

(Reporter: Davidgleich, Unassigned)

Tracking

(Depends on: 1 bug)

45 Branch
All
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160304114936

Steps to reproduce:

1. Use your default firefox profile
2. run firefox in the terminal as sudo
3. run firefox again as normal user


Actual results:

firefox starts firstrun again, and using sync is not possible (unexpected error).
The error happens because when you run firefox as sudo it changes some files as root. Therefore they are owned by root and firefox as normal user can not access them anymore.
for undo just do chown -R user:usergroup /home/USER/.mozilla/firefox/PROFILE


Expected results:

firefox should startup normal again
(Reporter)

Updated

2 years ago
Component: Untriaged → Device Permissions
OS: Unspecified → Linux
Hardware: Unspecified → All
Component: Device Permissions → Untriaged

Updated

2 years ago
Component: Untriaged → Startup and Profile System
Product: Firefox → Toolkit

Updated

10 months ago
Depends on: 1323302

Updated

10 months ago
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.