• 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: what happend of the .hidden file in Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what happend of the .hidden file in Tiger?


  • Subject: Re: what happend of the .hidden file in Tiger?
  • From: Mason Mark <email@hidden>
  • Date: Sat, 27 Aug 2005 18:46:59 +0900


On Aug 27, 2005, at 6:16 PM, Finlay Dobbie wrote:

On 27/08/05, James Bucanek <email@hidden> wrote:

This is news to me. I've never had any problem with LS until I ran your test code. Admittedly, I haven't really tested any of my code since Tiger, so maybe it's a 10.4 issue. Have you filed a bug report?


I wouldn't be surprised if the problem was that it's resolving the symlinks at /tmp, /var, /etc and so on to their corresponding directories in /private, and then examining the target's HFS attributes...

The only errors you're getting are because you can't get FSRefs to
/.vol and /dev. If you use URLs rather than FSRefs then LS will
correctly report them as invisible.

-- Finlay


Huh, that's an interesting theory! But, not all those files are symlinks.

By "errors", in this case I meant "Launch Services reporting a different visibility than what shows up in the Finder", not the errors getting the FSRef. (Bad choice of words, I suppose.)

Anyway, I am leaving the office right this minute so if somebody else wants to test Finlay's theory, that'd be cool. ;-) Or I will do it tomorrow. Now that I think about it, though, I bet that's surely true because IIRC FSPathMakeRef() always resolves symlinks.

But, that still doesn't explain why "mach.sym" is reported as visible but hidden in the Finder.

But if that's the only file that's problematic, then the 10.4 situation is a lot better than I thought... maybe that's the only special case left then.

Cheers,
--
Mason Mark
Five Speed Software, Inc.
_______________________________________________
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


  • Follow-Ups:
    • Rollover Effect
      • From: Philip Dow <email@hidden>
    • Re: what happend of the .hidden file in Tiger?
      • From: James Bucanek <email@hidden>
References: 
 >Re: what happend of the .hidden file in Tiger? (From: Mason Mark <email@hidden>)
 >Re: what happend of the .hidden file in Tiger? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: what happend of the .hidden file in Tiger?
  • Next by Date: Re: what happend of the .hidden file in Tiger? [MOSTLY SOLVED]
  • Previous by thread: Re: what happend of the .hidden file in Tiger?
  • Next by thread: Re: what happend of the .hidden file in Tiger?
  • Index(es):
    • Date
    • Thread