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
99 replies

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

Nov 23, 2014 5:25 PM in response to lplacencia

I'm really glad I came across this issue, I think we're all sharing a similar issue that pre-dates Yosemite, here's why


When I got my macbook brand new (discrete graphics / mid 2014 model, 1 month ago), it had some issues initially, it almost halted to a stop during setup, which is not unseen, yet uncommon, wish I re-installed things then, I've seen other people mentioning mavericks/lion issues, so I think we all had the cause at that time


Now after upgrading to Yosemite, the issue is still around, for me it manifests itself as erratic dock behaviour, dock moves to the second monitor sometimes, multi-touch gestures stop working etc.

Nov 24, 2014 7:11 AM in response to KHAANNN

Just starting having this issue with a new riMac yesterday, and not the computer is completely unusable.


I can VNC in and access the desktop, and it thinks it's connected to a 18" monitor for some reason. Repaired file permissions with disk utility, but the screen is still not detected properly. Restarted the computer, but the permissions on displaypolicyd are messed up again. I see the file vault login screen, and the progress indicator screen, but once it's time to show the desktop the screen goes blank.


Tried resetting the PRAM as well, but that didn't help.


What do I do?

Dec 28, 2014 4:31 AM in response to lplacencia

I have the same problem on a MBP early 2011. First thought it was the graphics card issue others have encountered but I can log into the computer via Safe Mode without problems. But when I log into the computer as usual it crashes after a certain amount of time.


It's not totally clear in my case if the repair permissions trick is doing the job but I will continue trying.


I'm on 10.10.1 and Dropbox has been uninstalled. Issue still present.

Dec 28, 2014 2:59 PM in response to lplacencia

The permissions verification results is not related to the OP's display sleep problem. It can be ignored. It is not a problem to be fixed by users. The permissions on the folder is expected. The folder is supposed to owned by user/group _displaypolicyd (244). Changing the permissions can cause problems by not allowing the displaypolicyd process from accessing the folder. The permission verification results is due to the Mac OS X OS package initially creating the folder with different permissions. I've included technical information below from my mac.


The system process that needs access to the folder:

USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND

_displaypolicyd 58 0.0 0.0 2560836 2888 ?? Ss 1:14AM 0:00.41 /usr/libexec/displaypolicyd -E 1 -k 1


The runtime files that the process creates and needs to access:

drwxr-xr-x 4 _displaypolicyd _displaypolicyd 136 Dec 28 13:21 /private/var/db/displaypolicyd

-rw-r--r-- 1 _displaypolicyd _displaypolicyd 4 Dec 28 01:14 /private/var/db/displaypolicyd/.pid

-rwx------ 1 _displaypolicyd _displaypolicyd 4276 Dec 28 13:21 /private/var/db/displaypolicyd/displaypolicyd.cache


The file information from the installer package receipt that is used to verify and repair permissions:

volume: /

path: /private/var/db/displaypolicyd


pkgid: com.apple.pkg.BaseSystemBinaries

pkg-version: 10.10.0.1.1.1412852630

install-time: 1413835468

uid: 0

gid: 0

mode: 755


pkgid: com.apple.pkg.BaseSystemResources

pkg-version: 10.10.0.1.1.1412852630

install-time: 1413835469

uid: 0

gid: 0

mode: 755

Dec 29, 2014 1:25 AM in response to Duc Phuc

Let me tell you what I did, it may not work for you but for now I haven't had the problem with my display.

I did a fresh install of OS X Yosemite (since buying the macbook with Lion back in June, 2012, I just upgraded to the newest release over time).

After Yosemite finished installing I did a Permission Check, the problem was still there, repaired the permission and left the macbook until morning and experienced the problem with the display not turning on.

I think the mistake is when I did the Repair permissions, I haven't done it since installing the fresh copy of Yosemite and no more problem.


I've read that some of you had Dropbox and got the problem with the display. I don't use that service, never had it installed on my macbook, don't know if it's related to Dropbox.

Dec 30, 2014 2:59 AM in response to lplacencia

I suffer from this issue as well. I recognize al lot from all the replies posted in this topic. Clean install, preparing permission after every reboot, nothing helps. It seems to be the root of other problems as well, like strange Safari and Finder crashes. I only do not blame Dropbox, I doubt it is Dropbox, it seems to be OS-X related.


I am running a Mac Pro from 2009 with OS-X 10.10.1 as a standard user. I did not suffer from it when I was running OS-X 10.10. It is not really clear to me how to fix this issue.

Jan 6, 2015 3:01 PM in response to Carric

Hi everyone,


I'm having this super-annoying Yosemite-can't-see-my-display-even-though-it's-RIGHT-THERE issue as well. I've trawled all the forums (as I'm sure you all have) and none of the solutions worked for me, so I'm going to try installing Mavericks on a partition and see what happens. I'll post an update here.


My computer:

MacBook Pro 2012

OS X Yosemite 10.10.1

Can't detect a BenQ monitor

Mini DisplayPort to HDMI cable.

Jan 6, 2015 5:32 PM in response to Carric

Carric,

The ownership for /var/db/displaypolicyd/ is supposed to be 244(_displaypolicyd). The "fixesPermissions.sh" script will actually cause failures with the display policy daemon. It will prevent the process from accessing its cache data. You will get the error: "NOTICE: doing display state recovery". You won't see it since the process is active on only a few specific mac models. It is active on my Mac Pro (Late 2013). It runs at boot and exits on my MacBook Air (13-inch, Mid 2012). On other systems, it will run at boot and exit with the error you posted regarding AGDC not supported. AGDC is the acronym for Apple Graphics Device Control. It is not supported on all mac models.

Jan 9, 2015 10:44 AM in response to Duc Phuc

i have exactly the same problem since upgrading from 10.8 to 10.9.

i even bought a new imac 27" late 2013 and installed 10.10.1 fresh without migrating any old data from previous systems.

but my imac is not able to detect the second NEC display by default, as it was with 10.8. there, i booted, and the mac detected the second display.


i have done several PRAM resets and SMC resets and everything else, and it still persists.

additionally when i change the desktop image in settings (finder), it is not saved! when i reboot, i get the original yosemite desktop "hill" image on the second screen (and sometimes randomly on the imac, too)


i use a high-grade displayport to minidisplayport cable


thanks for any help

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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.