[Squeakland] Strange error when loading a project into another from a superwiki then saving the image

Andreas Raab andreas.raab at gmx.de
Fri Mar 2 23:11:12 PST 2007


Bert Freudenberg wrote:
> The debug log you attached before shows that your image was in  
> restricted mode. In this sandbox mode, you are only allowed to write  
> inside the SecurityManager's "untrusted directory". I don't think  
> you're even supposed to save the image when in sandbox mode, so if  
> you try anyway, there might be any number of bugs lurking. IIRC the  
> image save logic assumes that FileDirectory default and the image  
> directory are identical. But in sandbox mode, this is not true anymore.

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.

Cheers,
   - Andreas


More information about the Squeakland mailing list