MacOS – Process (fmfd) spamming the console with sandbox denies

consolemacossandbox

Since installing OSX 10.10 (Yosemite), my console is full of error messages regarding fmfd, like fmfd(384) deny file-read-metadata /Volumes/Macintosh HD

This happens mostly at startup and when starting programs. I just want to know what it is, for my peace of mind and that my console can lose some weight 😉

Here´s some more (hopefully useful) information from one report:

fmfd(384) deny file-read-metadata /Volumes/Macintosh HD

Process:         fmfd [384]
Path:            /usr/libexec/fmfd
Load Address:    0x105f38000
Identifier:      fmfd
Version:         ??? (???)
Code Type:       x86_64 (Native)
Parent Process:  launchd [1]

Date/Time:       2014-10-21 17:13:10.336 +0200
OS Version:      Mac OS X 10.10 (14A389)
Report Version:  8

Can you help me with that, or assure me it´s harmless? I don´t necessarily want to allow the process more rights in the sandbox if not necessary, like they did in https://discussions.apple.com/thread/5495141?start=15&tstart=0

Best Answer

I just found how to solve this problem.

  1. Go to the /System/Library/Sandbox/Profiles folder, you will find a file named fmfd.sb. You can't modify it here, so copy it to your desktop.
  2. Open the copy with TextEdit, locate the allow file-read-metadata section and add a new line under (literal "/Volumes") for the folder that can't be read, for you that should be (literal "/Volumes/Macintosh HD").
  3. Replace the original with the copy (don't forget to make a backup), since it's in a system folder it will ask for your password.
  4. Reboot your Mac the error messages in Console should be gone!