[Glass] Cannot #reclaimAll ... fails with a SecurityError
Mariano Martinez Peck via Glass
glass at lists.gemtalksystems.com
Thu Jul 2 14:05:16 PDT 2015
On Thu, Jul 2, 2015 at 5:58 PM, Dale Henrichs via Glass <
glass at lists.gemtalksystems.com> wrote:
> Mariano,
>
> Hmmm looks like a bug ... you are using 3.1.0.6, right ...
>
Yes I am.
But is funny is that I THINK this is working correctly in the production
server and the gemstone user is created the same way....
mmmm I cannot right now, but soon I will test in the server and let you
know if it works there.
Thanks,
>
>
> Dale
>
>
> On 07/02/2015 01:22 PM, Mariano Martinez Peck via Glass wrote:
>
> Hi,
>
> I am trying to do a reclaimAll in my local gemstone (running in OSX). I
> am running the following code:
>
> System beginTransaction.
> SystemRepository reclaimAll.
>
> And the user I am using to run that code (the one that holds and runs my
> app) is created with this privileges:
>
> (AllUsers userWithId: 'userXXX')
> addPrivilege: #'CodeModification';
> addPrivilege: #'UserPassword';
> addPrivilege: #'OtherPassword';
> addPrivilege: #'*GarbageCollection*';
> addPrivilege: #'*SystemControl*';
> addPrivilege: #'SessionAccess';
> addPrivilege: #'FileControl';
> addPrivilege: #'SessionPriority';
> addGroup: 'DataCuratorGroup'.
>
> As you can see, it does have *GarbageCollection and **SystemControl *
> added.
>
> The error I am getting is in #reclaimAll in the line:
>
> *newMinPages := 1 .*
> *saveMinPages := self _setGcConfigAt: #reclaimMinPages put: newMinPages .*
>
> And this is the exact error:
>
> a SecurityError occurred (error 2116), An attempt was made to modify the
> object #'reclaimMinPages'->40 in objectSecurityPolicyId 7 with insufficient
> authorization.
>
> I know I may solve this by logging in in as GsUser, but I want to run
> #reclaimAll with MY user.
>
> Thoughts?
>
> Thanks in advance,
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> _______________________________________________
> Glass mailing listGlass at lists.gemtalksystems.comhttp://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
--
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150702/3e05252b/attachment.html>
More information about the Glass
mailing list