<p>I want to create an <code>NSOpenPanel</code> that can select any kind of file, so I do this</p>

<pre><code>NSOpenPanel*    panel = [NSOpenPanel openPanel];

if([panel runModalForTypes:nil] == NSOKButton) {
    // process files here
}
</code></pre>

<p>which lets me select all files <em>except</em> symbolic links.<br>
They're simply not selectable and the obvious <code>setResolvesAliases</code><br>
does nothing.</p>

<p>What gives?</p>

<p><b>Update 1:</b> I did some more testing and found that this strangeness<br>
is present in Leopard (10.5.5) but not in Tiger (10.4.8). </p>

<p><b>Update 2:</b> The code above can select mac aliases (persistent path<br>
 data that lives in the resource fork) but not symlinks (files created with ln -s).</p>

I cannot reproduce this. I just tried it and it works just fine. If symlink points to a directory, it shows the directory content when I select the symlink and if the symlink points to a file, I can select it as well.
Of course if the symlink points to a directory, you can only select it if choosing directories is allowed
```
```
NSOpenPanel * panel = [NSOpenPanel openPanel];
[panel setCanChooseDirectories:YES];
if ([panel runModalForTypes:nil] == NSOKButton) {
    NSLog(@"%@", [panel filenames]);
}
```
```