[Bugs] #2074 UNSP: Activity data directory should be deleted when an activity is deleted

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Jul 3 08:50:05 EDT 2010


#2074: Activity data directory should be deleted when an activity is deleted
------------------------------------------+---------------------------------
    Reporter:  bernie                     |          Owner:  jasg                       
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  sugar-love                 
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Some ill-behaved activities generate large amounts of data in their data
 directories. For example, Browse can easily put 50MB of cache in there,
 and I've seen a laptop with Wine using up 200MB of disk space. As the user
 installs activities to try them out, this junk accumulates permanently in
 the filesystem, with no way to get rid of it. I've seen several laptops
 with an empty journal and no free space.

 I propose that deleting an activity should also automatically delete its
 associated data directory.

 There's a data loss concern for activities that don't use the journal, but
 the current behavior causes an even worse data loss scenario: it quickly
 makes the system so unusable that it needs to be reinstalled, thus loosing
 *all* data.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2074>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list