• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileManager - getting list of "safe" files/folders [update]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager - getting list of "safe" files/folders [update]


  • Subject: Re: NSFileManager - getting list of "safe" files/folders [update]
  • From: Duncan Campbell <email@hidden>
  • Date: Wed, 22 Jun 2005 10:03:53 +1000

thx Will - I am using 10.4.1, and I don't actually have a .hidden file...

Did Apple change the way they do this stuff for Tiger? (I am thinking Spotlight tomfoolery)..


On 22/06/2005, at 9:08 AM, Will Mason 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.


Maybe this is a difference between the OS version that I use (10.3.9) and the one that you use, but my /.hidden file contains mach, mach_kernel and mach.sym. I would think that if you eliminated everything in the /.hidden file, then you wouldn't be seeing mach.sym. On my system mach is a symlink pointing to mach.sym.

Also, if these differences are due to differences between our OS
versions, then you'll probably have to account for that in your
software, too.

Good luck,
Will





Duncan Campbell ===================== http://www.duncanandsarah.com


_______________________________________________ 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
References: 
 >Re: NSFileManager - getting list of "safe" files/folders [update] (From: Will Mason <email@hidden>)

  • Prev by Date: Re: Where is the Build Log
  • Next by Date: Re: WWDC 2004 Source Code
  • Previous by thread: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Next by thread: Re: NSFileManager - getting list of "safe" files/folders
  • Index(es):
    • Date
    • Thread