[Live-demo] [OSGeo] #1389: deegree starts firefox in sudo, taking ownership of .mozilla profile

OSGeo trac_osgeo at osgeo.org
Thu Aug 14 16:41:09 PDT 2014


#1389: deegree starts firefox in sudo, taking ownership of .mozilla profile
----------------------+-----------------------------------------------------
 Reporter:  hamish    |       Owner:  live-demo@…              
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:  OSGeoLive8.0             
Component:  LiveDVD   |    Keywords:  deegree                  
----------------------+-----------------------------------------------------
 Hi,

 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.


 thanks,
 Hamish

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

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1389>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list