I've installed avast from brew cask

I'm trying to add /usr/local/share/metasploit-framework folder as an exception for a file system shield. Even though I have "show hidden files" option enabled on my mac, Avast is still not showing hidden files (such as /usr/...)

Hidden files in Finder: enter image description here

avast GUI - no hidden files: enter image description here

How to add the exception if there is no obvious way to make Avast see hidden files? Any ideas?


The file selector dialog seems to not be affected by the setting to show hidden files, but you can specify a manual path to hidden folders using the Go... command. Within the selector modal, press ⌘ + ⇧ + G to access the function. From there, you can specify a path manually, even a hidden one.


Keep in mind that this only allows access to hidden folders. Hidden files are still invisible.

  • I've already solved this problem using $ sudo chflags nohidden /usr and then $ sudo chflags hidden /usr... But this is way more elegant solution!!! Great answer! – Drew Aug 26 '15 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.