#5497 HIGH Update.: 'transfer_ownership' on datastore entries throws errors

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 14 05:46:44 EST 2007


#5497: 'transfer_ownership' on datastore entries throws errors
------------------------+---------------------------------------------------
  Reporter:  erikb      |       Owner:  tomeu                            
      Type:  defect     |      Status:  new                              
  Priority:  high       |   Milestone:  Update.1                         
 Component:  datastore  |     Version:  Development build as of this date
Resolution:             |    Keywords:                                   
  Verified:  0          |  
------------------------+---------------------------------------------------

Comment(by tomeu):

 Erik, perhaps I'm reading wrongly the logs, but I don't really see why you
 think those stack traces have anything to do with transfer_ownership. As
 you say, setting transfer_ownership to whatever value doesn't alter the
 result.

 The problem I see here is that you are putting the files that you pass to
 the DS in /activities/uid_to_home_dir/1012/tmp. That directory is private
 to the activity process, and thus is not accessible by the DS process.
 That's what this error says:

 {{{
 IOError: [Errno 13] Permission denied:
 dbus.String(u'/activities/uid_to_home_dir/1010/tmp/bdf19d882be0239ea91e0b446196c3e96c85aadb_1197652781.o
 }}}

 Why you say these logs are strange? I would say it is both clear and
 informative.

 Please also take in account that the tmp dir is backed in RAM and is
 capped to a low amount of space (i think 1MB). It should only be used to
 store temporal files private to the activity and that are both small and
 short lived.

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



More information about the Bugs mailing list