Bert Freudenberg wrote:
On Mar 3, 2007, at 8:11 , Andreas Raab wrote:
That is correct. With the sandbox on, you can't safe the image - otherwise this would be a trivial way for a malicious bit of code to make itself forever at home in that image.
Well, you should be able to save the image in the untrusted directory, right? Squeakland users usually never save the image, and Squeak.org users never enable the sandbox, so there might well be bugs hidden there.
No, it is intentional that you cannot save the image even in the untrusted directory. It avoids the impression that there is a bug in the sandbox (not being able to save the image anywhere) that people "work around" by saving the image in the untrusted directory and running it from there (which would completely defeat the purpose of all of the mechanisms in place). If you want to live risky (i.e., save the image with unknown code in it that will forever be part of that image) then you have to be explicit and turn off the sandbox entirely.
Cheers, - Andreas