> On May 15, 2017, at 18:48, Ryan Schmidt <[email protected]> wrote: > > >> On May 15, 2017, at 14:53, Lenore Horner <[email protected]> wrote: >> >> >>> On May 15, 2017, at 13:56, Ryan Schmidt <[email protected]> wrote: >>> >>> >>>> On May 15, 2017, at 12:03, Dave Horsfall <[email protected]> wrote: >>>> >>>> On Tue, 16 May 2017, Joshua Root wrote: >>>> >>>>> You can hit cmd-shift-. to show hidden files and folders in open/save >>>>> dialogs. >>>> >>>> The question is of course why is /opt hidden in the first place? This >>>> smacks of the M$ "you don't need to know this" attitude. >>> >>> I thought we were hiding it, but it's not hidden on my systems and I can't >>> find anywhere in the Makefile or postflight script where it's being hidden, >>> so I must've imagined it. >>> >> /opt (and other things like files beginning with . /Library) are hidden by >> the OS by default but it’s pretty easy to find instructions on how to turn >> the hiding off or make a script to toggle hiding. My guess is Ryan turned >> the hiding off entirely on his system. >> > > /opt is visible on all the systems I've checked, even those that are not > configured to show invisible items. > > The OS does not have any idea what /opt is or that it should be hidden, > unless someone told it to be that way. Apple for example told /Library to be > that way as of Lion. I thought we made /opt hidden, but I can't find any > evidence of that now. > /opt is not visible on my system (I usually us cmd-shift-G) even though files I have set the hidden flag for are currently showing in my save dialog box (but not things starting with .). The only directories visible at that level are /Applications /Library /System /Users. However, ~/Library is hidden.
Info at https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html <https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html> sounds to me like MacOS may hide /opt by default even if doesn’t start with a /opt directory. It’s not really clear.
