Opened 10 years ago

Closed 10 years ago

#1389 closed defect (fixed)

deegree starts firefox in sudo, taking ownership of .mozilla profile

Reported by: hamish Owned by: live-demo@…
Priority: critical Milestone: OSGeoLive8.0
Component: OSGeoLive Keywords: deegree



the degree start icon runs ~/bin/, 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 to "sudo -u user" firefox? seems a bit like going in circles.

thanks, Hamish

ps- "export FOO=bar" is a bashism, should replace with "FOO=bar; export FOO"

Change history (2)

comment:1 by hamish, 10 years ago

try for a fix in r11865.


comment:2 by kalxas, 10 years ago

Resolution: fixed
Status: newclosed

confirmed fixed in build [11868]

Note: See TracTickets for help on using tickets.