[Squeakland] Newbie installation question - security system fails

Andreas Raab andreas.raab at gmx.de
Thu Oct 21 10:49:42 PDT 2004


Hi Randy,

Here is some more info. Squeak needs two directories where it can write to. 
One is the so called "secure directory" which it uses to store some data 
that should never (not even by accident) accessible to any squeaklet. The 
other one is what the call the "user directory" since this is the place the 
user will be teleported to when she loads an unknown squeaklet.

Typically, (1) is set to the location where the plugin is installed and (2) 
is set to C:\My Squeak. In order to change this, you can modify the 
Squeak.ini file in the installation directory (more info at 
http://minnow.cc.gatech.edu/squeak/3274). You need to add the following:

[Security]
SecureDirectory=C:\Program Files\Squeak\Plugin
UserDirectory=C:\My Squeak\%USERNAME%

Note that the directories in the above are the defaults for a typical 
installation (we don't store these in the ini file by default - it makes it 
easier to move these things around so there is no entry initially). Also 
note that you can use environment variables (such as %USERDIRECTORY% in the 
above). I would expect that the following should work for you:

[Security]
SecureDirectory=%USERPROFILE\Application Data
UserDirectory=%USERPROFILE\My Squeak

This essentially puts both directories into the current user's environment 
to which I expect they have write access. If not, simply adjust the above so 
that it works for you.

Cheers,
  - Andreas

----- Original Message ----- 
From: "Randy Heiland" <heiland at indiana.edu>
To: "'Michael Rueger'" <michael at squeakland.org>; "'Herb Schilling'" 
<hschilling at nasa.gov>
Cc: <squeakland at squeakland.org>
Sent: Thursday, October 21, 2004 2:48 AM
Subject: RE: [Squeakland] Newbie installation question - security system 
fails


>I just realized that I too have this situation and the timing is crucial as
> I'm going out to a Girl Scouts computer lab today to have their sysadmin
> install Squeak.  However, the fix(es) you suggested, Michael, don't work 
> for
> me.  This could be due to my lack of knowledge on Windows, but here's my
> brief summary.
>
> I installed Squeak under my personal/Admin acct, then created a 'tester'
> acct.  Running Squeak from tester, I have symptoms similar to what Herb
> described, i.e., it starts up with a msg "Initializing security system..."
> (something that I don't see when running on my acct) and then I get 
> "Error:
> a primitive has failed" with the Store log|Abandon|Debug choices.  As Herb
> said, hitting Abandon and continuing seems to allow one to run normally,
> including being able to save projects.  (So, this is really just a 
> nuisance
> bug, but one I'd rather not have when trying to instill confidence to
> sysadmins/newbies about installing/running Squeak).
>
> I then tried to give write permission to c:\My Squeak, as you suggested.
> And here's where my Windows ignorance plays out.  Right-mouse on this 
> folder
> and going to Properties, I turn off the "Read Only" button, apply to all
> subfolders, but it doesn't seem to stick.  Closing the Properties and
> opening it up again shows the "Read only" button selected again.  I then 
> go
> to the "Sharing" tab and attempt to turn on share with others, including
> dragging it to the Shared Documents, but I still get the same error msg 
> when
> running from tester.  I'm at a loss.
>
> About "seeing only half of bottom row of Supplies", yes, that does indeed
> seem to be the default behavior when you simply click on the tab (attached
> image).  However, maybe Herb doesn't realize that you can simply drag the
> Supplies tab itself up higher to see everything in that bottom/2nd row.
> Then the next time you open the Supplies tab with a single click, it'll
> remember its previous height.
>
> BTW, I sent in a different question to this list yesterday, but it still
> hasn't shown.  I may have asked before, but is this a human-filtered list?
> It seems like a rather lengthy delay.
>
> --Randy
>
>> -----Original Message-----
>> From: squeakland-bounces at squeakland.org [mailto:squeakland-
>> bounces at squeakland.org] On Behalf Of Michael Rueger
>> Sent: Wednesday, October 20, 2004 4:56 PM
>> To: Herb Schilling
>> Cc: squeakland at squeakland.org
>> Subject: Re: [Squeakland] Newbie installation question - security system
>> fails
>>
>> Herb Schilling wrote:
>>
>> > Does this have to do with some permissions on the files ? How do I fix
>> > this problem?
>>
>> You should first run Squeak under the admin account so Squeak can create
>> this security file (it contains a key that is used to sign projects).
>>
>> After that you should be fine as long as you have write permission to
>> the c:\My Squeak directory.
>>
>> If you need to change the location of your user directory you can add
>> somthing like
>>
>> [Security]
>> UserDirectory="d:\mike\squeak"
>>
>> to the squeak.ini file located in the squeak plugin directory (where
>> squeak.exe resides).
>>
>> > Also, I can only see half of the bottom row of Supplies even in the
>> > admin account.
>>
>> Could you send a screenshot of this? I can't really imagine how that
>> looks like...
>>
>> Cheers
>>
>> Michael
>>
>> _______________________________________________
>> Squeakland mailing list
>> Squeakland at squeakland.org
>> http://squeakland.org/mailman/listinfo/squeakland
>>
>
>



> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland
> 



More information about the Squeakland mailing list