[Pharo-project] How do I get the user directory?

Damien Pollet damien.pollet at gmail.com
Thu Sep 3 11:14:18 EDT 2009


aka $HOME or ~/

There is SecurityManager default untrustedUserDirectory
but on my machine this returns
'/Users/damien/Library/Preferences/Squeak/Internet/My Squeak'
and SecurityManager default secureUserDirectory
but this one returns nonsense like  '/foobar/tooBar/forSqueak/bogus'

Besides I have no idea what an untrusted user directory is. Perhaps a
Windowsish concept ?

-- 
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet




More information about the Pharo-dev mailing list