Re: NSUserDirectory ... was Re: (no subject)

2007-03-06 Thread Tim McIntosh
On Mar 6, 2007, at 5:27 AM, Richard Frith-Macdonald wrote: I agree ... it's not an idea I'd want to base my code on (I guess you can use NSHomeDirectoryForUser() in most cases). Presumably the idea is that you can iterate through the subdirectories of these paths to find all the 'normal' user

RE: NSUserDirectory ... was Re: (no subject)

2007-03-06 Thread Nicola Pero
For NSUserDirectory we probably only need System, Network and Local -- the User domain would not make sense as it would mean you can put user's directories in your own user directory. :-/ (Mac OS X has only got Network and Local) OK, I'll add them now. Thanks __

NSUserDirectory ... was Re: (no subject)

2007-03-06 Thread Richard Frith-Macdonald
On 6 Mar 2007, at 11:24, Nicola Pero wrote: Yup ... I see what you mean. I did a quick search on the internet and found that NSUserDirectory returns /Network/Users with the Network domain mask, /Users with the User domain mask, and nothing with the other ones. Hmmm. Interpreted in this way,