Scratch fails to write to Scratch.activity/Projects
John Maloney
jmaloney at media.mit.edu
Tue Aug 26 20:40:34 EDT 2008
Hi, Scott.
What's wrong with just making the directory Scratch.activity/Projects
writable by the world? Seems to me that it could not hurt other
applications. Scratch does not run any binary files from that folder,
so it should be pretty safe. At worse, some malicious software could
write a bogus project file that Scratch would refuse to open.
The Scratch activity used to install that way but I suppose something
about the installation process has changed.
I'm currently in the process of getting Scratch 1.3 out the door. When
the dust settles from that I will see what I can do about making
Scratch work better on the XO. But I don't think I want to add journal
support even if is easy because I'd like to keep the same version of
Scratch across all platforms, and Scratch was designed to be file-based.
Is there a Wiki page that explains how to use the bug database?
Feel free to re-package the current Scratch activity installer to
include your patch, if you think that makes sense.
-- John
On Aug 26, 2008, at 6:36 PM, C. Scott Ananian wrote:
> In http://dev.laptop.org/ticket/8166 there's a problem reported: Peru
> can't save their work in Scratch, because Scratch tries to write to
> Scratch.activity/Projects, and this is not writable. Luckily, there
> is an easy workaround: the directory $SUGAR_ACTIVITY_ROOT/data is
> persistent storage which is writable by the activity, and properly
> protected. On the trac page I've also provided a patch which wraps
> Scratch so that it writes to the proper place.
>
> Tomeu also volunteered on IRC earlier today to help you implement
> proper Journal support for Scratch.
>
> Finally: there are a number of bugs filed against scratch in our bug
> tracker, but it doesn't appear to have a proper component and owner
> created for it in the tracker. We'd like to fix that: do you have a
> username on the dev.laptop.org trac instance that we could make the
> default owner of bugs filed against 'scratch-activity' so that you are
> promptly notified if/when people have problems?
>
> Thanks for porting scratch, the kids in Peru seem to really like
> it. ;-)
> --scott
>
> --
> ( http://cscott.net/ )
More information about the Devel
mailing list