If one uses the Command + Shift + G
keyboard shortcut and asks Finder to navigate to /tmp
, on occasion instead of being taken to /private/tmp
(with appropriate hiding of the /private
directory from the user) the user is taken to /
as exhibited here:
And if I attempt to navigate to /private/tmp
:
What gives?
Best Answer
The answer appears to be related to
setfile
. If one runsgetfileinfo /private/tmp
:In my case, the bundle flag was turned (capital letters mean attributes are turned on, lower case means they're turned off). To resolve the issue I was able to run
And I could once again navigate to
/tmp
in Finder.What set the Bundle bit? I don't know. But life wouldn't be worth living if there weren't at least a few mysteries.
Here's a Super User article that discusses the topic in some detail.