You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Permissions problem in displaypolicyd

I'm having a very strange problem with Yosemite 10.10 (14A389) on my MacBook Pro (13-inch, Mid 2009). Waking from sleep the monitor receives no signal.

The only problems I have come across is a few permission errors:

User differs on “private/var/db/displaypolicyd”; should be 0; user is 244.

Group differs on “private/var/db/displaypolicyd”; should be 0; group is 244.


sudo chown -R root /private/var/db/displaypolicyd && sudo chgrp -R wheel /private/var/db/displaypolicyd

or

sudo diskutil repairPermissions /


After repairing permissions problem reappears after a reboot.

MacBook Pro (13-inch Mid 2009), OS X Yosemite (10.10)

Posted on Oct 23, 2014 2:39 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 24, 2014 4:41 AM

My temporary solution


1 - Create a shell script example: fixesPermissions.sh

sudo chown -R root /private/var/db/displaypolicyd && sudo chgrp -R wheel /private/var/db/displaypolicyd


2 - Path in my case

/etc


3 - Allow my user to run the script without root password

sudo nano /etc/sudoers


below the line

# Samples

# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom

# %users localhost=/sbin/shutdown -h now


add line

myuser ALL=NOPASSWD: /etc/fixesPermissions.sh


key cmd + x

key y

key cmd + m


4 - Run the shell script when my user logs

sudo defaults write com.apple.loginwindow LoginHook /etc/fixesPermissions.sh

99 replies
Question marked as Top-ranking reply

Oct 24, 2014 4:41 AM in response to lplacencia

My temporary solution


1 - Create a shell script example: fixesPermissions.sh

sudo chown -R root /private/var/db/displaypolicyd && sudo chgrp -R wheel /private/var/db/displaypolicyd


2 - Path in my case

/etc


3 - Allow my user to run the script without root password

sudo nano /etc/sudoers


below the line

# Samples

# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom

# %users localhost=/sbin/shutdown -h now


add line

myuser ALL=NOPASSWD: /etc/fixesPermissions.sh


key cmd + x

key y

key cmd + m


4 - Run the shell script when my user logs

sudo defaults write com.apple.loginwindow LoginHook /etc/fixesPermissions.sh

Oct 25, 2014 9:47 PM in response to lplacencia

I just found this same permissions issue and repaired them with Disk Utility. I'm hopeful that this will fix the issue I've been having with my HDMI monitor failing to activate when connecting through a MDP-to-HDMI adapter cable. I'm not at home now to test it but I will post results as soon as I can. I'm not the only one having this problem, so let's hope it's as simple as this!

Oct 31, 2014 9:58 AM in response to lplacencia

I had a similar issue where my MacBook Pro would freeze after entering the password on a lock screen. The problem happened only when using a lock screen; if I did not use a lock screen (System Preferences->Security->General->"Require password..." unticked), then my Pro would come back from sleep without issue. Using Disk Utility to fix permissions in /private/var/db/displaypolicydappears to fix the problem, but the permissions require fixing after each reboot, it seems.

Nov 4, 2014 2:38 PM in response to lplacencia

This didn't seem to help my HDMI connectivity problem. But I didn't restart after the permissions repair, nor install the script. I just applied the fix then tried connecting the display, whereupon it still failed to start. Is the script and restart absolutely necessary, or does the permission repair fix the issue even after the system has booted?

Nov 13, 2014 9:24 AM in response to lplacencia

There seem to be three solutions:

- correct permissions

- download thunderbolt firmware update (1.2) from appStore

- reset PRAM + unplug then replug the monitor cable from the adapter (I have dvi -> thunderbolt)


so for me the last one worked, and now I have two external displays on Yosemite working ok. I did all three of them though, so perhaps the combination worked.

Nov 14, 2014 4:35 PM in response to Iain Devine

Gah. Tried the "repair permissions" utility with no joy. I can't leave my computer locked when connected to a Thunderbolt display. I can leave the computer locked when connected to a Mini DisplayPort LED display, which is better.


My Thunderbolt display firmware was already up to date, and so did not need the recent 1.2 update. So whatever the problem is, it's not the firmware.

Nov 18, 2014 11:51 AM in response to lplacencia

have same issue originally it was just:

Group differs on “Library/Printers/InstalledPrinters.plist”; should be 80; group is 0.

Permissions differ on “Library/Printers/InstalledPrinters.plist”; should be -rw-rw-rw- ; they are -rw-r--r-- .

Repaired “Library/Printers/InstalledPrinters.plist” but found on MacRumors Forum the fix for it which was getting printer plist in library and unlocking it. reboot and haven't had it again

This is on a late 2013 15" rMBP 16gbs ram and 2.6 with nvidia 750GT and 512SSD with external Lacie 1TB for Time Machine. No external monitor as have a 27" NEC for my photo work on my windows box which was a Puget System Build to my specs last year before I decided to leave the all plastic side of computing 😉. To me I'll continue searching as the lines don't help me. Will post back anything I find.

about a month or more back the same error in Disk Utility started showing up. Lappy came with Mavericks 10.9.1 on it was picked up the day before Xmas (great time to be in Apple Store with 2 daughters that have Teachers Discount....free AppleCare for 3 years with discount).

Anyhow sure would like fix as have updated each time one came out. on Yosemite 10.10.1 know I did the .1 last night. Have had no issues at all except for learning the mac world coming from Windows and still have to use BootCamp and Windows 7 pro 64 bit for 1 program we need for General Motors. Have been with iPhones since the 3GS and loving my 6Plus but like fixing any registry issues in Windows I like a clean machine so will try whats needed to fix this permissions issue.

Thank you

Permissions problem in displaypolicyd

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.