Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I searched google and found a list of hidden directories and files in OS X at but .file wasn't listed. The file is 0 size and looks like this

----------   1 root  admin        0 Aug 24  2013 .file

very suspicious?

Running McAfee virus scan there were over 700 additional files that were Not Scanned because they were protected.

  • /private/var
  • /private/etc
  • /Library/Caches
  • /Library/Application Support and others
share|improve this question
I have .file as well, dating January 31st. May be just a leftover from an installer. – patrix Mar 18 at 14:24
Do not spend money on useless anti virus hoaxware. – Max Ried Mar 18 at 16:38
I have .file as well on my Mac (running El Capitan) and my 2 jailbroken devices running iOS 6.1 and iOS 9. – Spotlight Mar 18 at 22:32
Side question: is it possible for an empty file to be malicious? – wchargin Mar 18 at 23:17

You can query the package receipt database.

pkgutil --file-info /.file

on a machine running OS X 10.6 the results are

volume: /
path: /.file

install-time: 1252683091
uid: 0
gid: 80
mode: 0

install-time: 1252683099
uid: 0
gid: 80
mode: 0
share|improve this answer

Yes it's normal and the .file file is part of the BaseSystemResources.pkg and Essentials.pkg packages within the InstallESD.dmg disk image of the Install OS X $ bundle, e.g. Install OS X Mountain, however I do not know its purpose.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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