[Vm-dev] Mac VM: SecurityManager default untrustedUserDirectory
John M McIntosh
johnmci at smalltalkconsulting.com
Sun Oct 10 19:18:58 UTC 2010
Asking for the home directory should invoke a platform specific method that does the right thing.
Perhaps on unix based machines you can use ~ ? However on systems that have file security turned on then you
might need to lookup the squeak un trusted directory since the answer could be different.
On 2010-10-10, at 11:39 AM, Lukas Renggli wrote:
>
> On 10 October 2010 07:26, John M McIntosh
> <johnmci at smalltalkconsulting.com> wrote:
>>
>> 4.2.5x SqueakUnTrustedDirectory -> ~/Library/Preferences/Squeak/Internet/My Squeak/
>>
>> 5.8.x SqueakUnTrustedDirectory -> /foobar/tooBar/forSqueak/bogus/
>>
>> What would you like it to be?
>
> '/foobar/tooBar/forSqueak/bogus/' doesn't look meaningful, it doesn't
> even exist on my system.
>
> The Filesystem library uses #untrustedUserDirectory this to find the
> home directory. Maybe there is a better way to do that on Mac?
>
> Lukas
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3829 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20101010/39ab293a/smime.bin
More information about the Vm-dev
mailing list