#5061 HIGH Update.: Data directories in /home

Zarro Boogs per Child bugtracker at laptop.org
Tue Dec 4 17:57:42 EST 2007


#5061: Data directories in /home
--------------------------+-------------------------------------------------
  Reporter:  bert         |       Owner:  mstone             
      Type:  enhancement  |      Status:  new                
  Priority:  high         |   Milestone:  Update.1           
 Component:  security     |     Version:                     
Resolution:               |    Keywords:  rainbow-integration
  Verified:  0            |  
--------------------------+-------------------------------------------------
Changes (by mstone):

 * cc: krstic, mstone, marco (added)
  * priority:  normal => high


Comment:

 Marco, Ivan, and I discussed this topic this afternoon. We identified two
 underlying problems:

 1) For each activity launch, we set $HOME. The directory pointed to by
 $HOME is not generally writable by the activity.

 2) Activities or libraries that write persistent files (such as profile
 directories) with restricted group and world permissions will break on the
 second launch because, for all intents and purposes, we never reuse uids.

 We can certainly fix (1) by, for example, setting $HOME <- $SAR/data.
 However, we are all ambivalent about whether this is a good idea because
 we believe it will tend to delay the detection of permission-related
 failures until the second time you launch an activity.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5061#comment:2>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list