deegree starts firefox in sudo, taking ownership of .mozilla profile
|Reported by:||hamish||Owned by:|
the degree start icon runs ~/bin/launch_assist.sh, which stars the server in sudo.
the script then starts 'firefox -new-tab', as root, which has a couple effects:
- if firefox is already running, you get an error that it it's already running.
- if firefox wasn't already running, it starts, but then root owns various profile files in ~user/.mozilla/, and the regular user can no longer start firefox.
Shame on firefox for writing root's stuff to ~user/ and not /root/.mozilla, maybe the work-around is to edit deegree_start.sh to "sudo -u user" firefox? seems a bit like going in circles.
ps- "export FOO=bar" is a bashism, should replace with "FOO=bar; export FOO"