Re: Opening Symbolic Links
Re: Opening Symbolic Links
- Subject: Re: Opening Symbolic Links
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 26 Jan 2009 13:07:20 +0700
On 25 Jan 2009, at 09:31, Rob Keniger <email@hidden> wrote:
On 24/01/2009, at 11:46 PM, Gerriet M. Denkmann wrote:
I have a text file, called Text.
I did in Terminal:
ln -s Text SymlinkToText
When I try to open SymlinkToText in TextEdit "SymlinkToText" is
shown in the Open Panel, but when I select it, the "Open"-button is
disabled.
Is this a bug or a feature (in 10.5.6) ?
I believe this did work in Tiger, but have no machine to test this.
Call [yourOpenPanel setResolvesAliases:YES] to make an open panel
resolve aliases/symlinks.
I tried this. Works as expected for Aliases. But has no effect on
symbolic links.
And symbolic links behave really crazy:
ln -s a symA
Now I can open symA (and get the content of "a") at most once.
When I try to open symA again the "Open" button in the NSOpenPanel is
disabled.
But when I do [ openPanel setCanChooseDirectories: YES ] I can open
symA as often as I want.
The Finder and the OpenPanel show symA with a ► at the end (as it is
done for folders). The Preview is correct though.
Is this a known feature or bug of 10.5.6?
Am I doing something wrong?
Does anybody seen this strange behaviour as well, or is it only me?
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden