Moving profile breaks it
Categories
(Core :: General, defect)
Tracking
()
People
(Reporter: oldwizard1010, Unassigned)
Details
Attachments
(1 file)
37.93 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
OS - Linux
- Create new folder (test1)
- launch firefox from command line using test1 folder as profile
firefox --profile ./test1 - install add-ons, do some stuff, then quit
- rename test1 to something else (test2) or move it to another location
- Launch from cli using new location
firefox --profile ./test2 -
- add-ons are broken
spams with:
IPDL protocol Error: Received an invalid file descriptor
- add-ons are broken
option2:
0. create shared folder (for example /home/Shared)
0.1 set permissions for this folder to rw/rwx for some group of users (testgroup for example)
sudo groupadd testgroup
sudo useradd -m user1
sudo useradd -m user2
sudo usermod -a- G testgroup user1
sudo usermod -a- G testgroup user2
setfacl -d -m g:testgroup:rwx /home/Shared
0.2 login as user1
- Create new folder (test1)
mkdir /home/user1/test1 - launch firefox from command line using test1 folder as profile
firefox --profile /home/user1/test1 - install add-ons, do some stuff
- zip -r ./test1.zip ./test1; mv ./test1.zip /home/Shared/test1.zip; cd /home/Shared/; unzip ./test1.zip
(zipping is optional, but helps with fixing some problems from option1) - launch profile again, then quit
firefox --profile /home/Shared/test1 - relogin as user2
- Launch from cli
firefox --profile /home/Shared/test1
Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.
JavaScript error: resource://gre/modules/XULStore.jsm, line 58: Error: Can't find profile directory
Actual results:
unable to properly move/rename profile folder or use the same profile folder from different users
Expected results:
- firefox should probably use relative paths in extensons.json (found this one on reddit)
- profile folder should be easily moved, renamed and used from different users without errors (chromium can do this)
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Description
•