#5448 HIGH Update.: Record startup problem (rainbow)

Zarro Boogs per Child bugtracker at laptop.org
Thu Dec 13 22:42:28 EST 2007


#5448: Record startup problem (rainbow)
------------------------------+---------------------------------------------
  Reporter:  rwh              |       Owner:  erikb              
      Type:  defect           |      Status:  assigned           
  Priority:  high             |   Milestone:  Update.1           
 Component:  camera-activity  |     Version:                     
Resolution:                   |    Keywords:  rainbow-integration
  Verified:  0                |  
------------------------------+---------------------------------------------

Comment(by mstone):

 This turns out to be more subtle than I recognized on the first read. The
 fundamental issue is that permission to unlink inodes (i.e. to delete a
 dirent) is granted by authority of having write access to the containing
 directory. This makes things exciting in our model since activities are
 granted write access to neither /activities/uid_to_home_dir/<uid> (which
 would allow you to unlink the 'instance' symlink) or nor
 /activities/uid_to_instance_dir (which would allow you to unlink the
 directory pointed to by the 'instance' symlink). In conclusion, since you
 are actually trying to return the instance and temp dirs to a pristine
 state, you should do _exactly_ that by unlinking the inodes contained in
 those directories (and nothing else) or you should handle the permissions
 errors that result from attempting to unlink inodes contained in
 directories to which you do not have write access.

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



More information about the Bugs mailing list