#5744 HIGH Update.: "Resuming" a large file from USB copies it into NAND (filling NAND)
Zarro Boogs per Child
bugtracker at laptop.org
Mon Dec 31 21:13:33 EST 2007
#5744: "Resuming" a large file from USB copies it into NAND (filling NAND)
------------------------+---------------------------------------------------
Reporter: gnu | Owner: tomeu
Type: defect | Status: new
Priority: high | Milestone: Update.2
Component: datastore | Version: Build 653
Resolution: | Keywords: relnote
Verified: 0 | Blocking:
Blockedby: |
------------------------+---------------------------------------------------
Comment(by gnu):
Replying to [comment:11 walter]:
> Also, it is not clear what security concern is addressed by the file
copy.
If the datastore handed over a file descriptor, opened for reading only,
to the activity, it's not clear what mischief the activity could do.
fchmod perhaps? How much do we care?
(Note: Unix domain sockets can pass file descriptors from process to
process. Also, if we used this capability, it would be yet another way
that Sugar activities would break when run like any other X client (over a
network).]
> ...it wasn't clear that there was an easy fix...
Yes. it appears that an API change is needed, which will require changes
in all activities. The current API requires the activity to open, use,
and then *delete* the file whose name it was handed by the datastore!
--
Ticket URL: <http://dev.laptop.org/ticket/5744#comment:12>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list