Re: NSFileManager - getting list of "safe" files/folders [update]
Re: NSFileManager - getting list of "safe" files/folders [update]
- Subject: Re: NSFileManager - getting list of "safe" files/folders [update]
- From: Matt Neuburg <email@hidden>
- Date: Sat, 25 Jun 2005 10:04:29 -0700
On Wed, 22 Jun 2005 00:42:39 +0200, St?phane Sudre <email@hidden>
said:
>
>On mercredi, juin 22, 2005, at 12:16 AM, Duncan Campbell wrote:
>
>> Ok, I've got this down to the following files:
>>
>> /etc
>> /mach.sym (link to 2nd)
>> /mach.sym (yes this is twice)
>> /tmp
>> /var
>>
>> Now, ALL of the above are symlinks to hidden files *except* the 2nd
>> "mach.sym" which is a file, and (according to LSCopyItemInfoForURL)
>> does *not* have it's hidden bit set.
>>
>> Any ideas folks - I'm so close here!
>
>Just create an exception. That's how the Finder is doing it presumably
>as these are shown in the Finder Windows too when you display the
>content of the root folder of another partition with Mac OS X installed.
Except that even the Finder gets this wrong. My machine has a Panther
partition and a Tiger partition, and when I'm booted from the Panther
partition, the Finder fails to hide the mach and mach.sym files on the Tiger
partition. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden