private/var/db/displaypolicyd should be 0 but is 244

Joined
Oct 1, 2015
Messages
2
Reaction score
0
Points
1
In Finder I right-clicked the hard-drive unit and changed permissions for "everyone" under permissions, and selected "deny access" or something like that. After this my Mac (Macbook Pro, 13 ", 2013, latest version of Yosemite) hung and every time I try to start it up, it gets stuck loading before the login screen. I only see the apple logo and the bar is frozen. I tried repairing permissons from disck utility and repairing disck, but nothing. IThere is only an error like this: "private/var/db/displaypolicyd" should be 0 but is 244. for both, users and groups. Could someone help me? I did not back up my data and i want not to loose it.
 

vansmith


Retired Staff
Joined
Oct 19, 2008
Messages
19,966
Reaction score
606
Points
113
Location
Queensland
Your Mac's Specs
Too many devices to list
I'm guessing the 0 and 244 are permissions (permissions are represented as numbers in Unix). Boot into single user mode and type the following (I don't know if this will work but it's worth a shot):
Code:
chmod 244 /private/var/db/displaypolicyd

I doubt that will be sufficient. If you indeed did change the permissions of everything, you may end up having to reinstall. Out of curiosity, what were you hoping to accomplish by changing those permissions?
 
OP
L
Joined
Oct 1, 2015
Messages
2
Reaction score
0
Points
1
Out of curiosity, what were you hoping to accomplish by changing those permissions?[/QUOTE]

Vansmith,
I created a local net to share some archives with my students, but I wanted to avoid them to enter into my other archives (I did share a folder in my desktop, but they saw all my hard drive content, so I expected to block their access to it).

I was trying the whole morning to solve this problem and I finally did with the solution (at least it worked for me).
1. I started my mac pressing shift
2. after I started it again wirt cmd+S
3. I introduced:
mount -uw /
chown root /
chmod 1775 /
exit
And it works. I'm now in.
I went to my HD in Finder again and put back the priviledges as they were before the problem. I restarted and everything was good.

After I went into disk utility again and did "verify disk permissions" and still the following message apear. I guess this is something not to worry about

Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent” has been modified and will not be repaired.
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.

However, my mac is working as before the problem
Thank you
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top