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.

macOS needs to repair your Library to run applications. Type your password to allow this.

Just upgraded to macOS Sierra.


Now I'm getting a barrage of:

"macOS needs to repair your Library to run applications. Type your password to allow this.", dialogs. They just keep coming up.


I've tried setting the permissions on the home and library directories, by doing a Get Info->Sharing & Permissions->Select User->Select Read & Write->Apply to Enclosed Items...


This seems to set the permissions as you would expect.


But Safari can't download files to my Downloads Folder. Other changes to settings in other Apps. Don't seem to hold.

Every time I log in again the dialog barrage begins again.


You chose a great time to remove the Repair Permission from Disk Utilities Apple.


So how are we supposed to fix this?

Mac mini (Late 2012), macOS Sierra (10.12)

Posted on Sep 24, 2016 5:18 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 8, 2017 4:49 PM

I had this scenario this morning but it was after using the migration tool.

most of the Library files had the 'owner' and 'group' as numbers (i.e no longer linked to the actual user account logged in)

Open terminal. do ls -al in the home directory and see what you can see. You may find something like this (i've only pasted some for the purposes of illustration

C02NL05EF8J2:~ cpenna$ ls -al

total 240

drwxr-xr-x 31 cpenna LTU\Domain Users 1054 Mar 8 11:58 .

drwxr-xr-x 9 root admin 306 Nov 21 11:50 ..

-r-------- 1 cpenna LTU\Domain Users 7 Sep 22 09:19 .CFUserTextEncoding

-rw-r--r--@ 1 cpenna LTU\Domain Users 22532 Mar 8 11:30 .DS_Store

drwxrwxr-x 2 root LTU\Domain Users 68 Aug 27 2015 .InstallAnywhere

drwx------ 2 cpenna LTU\Domain Users 68 Mar 8 11:33 .Trash

drwx------@ 66 37682 37682 2244 Sep 27 09:04 Library

drwx------+ 9 cpenna LTU\Domain Users 306 Jan 27 2016 Movies


To fix this, do the following (replace username & groupname to match your system)

sudu chown -R username ~/Library

sudo chgrp -R groupname ~/Library


Hope this helps

2 replies
Question marked as Top-ranking reply

Mar 8, 2017 4:49 PM in response to Arius Kahn

I had this scenario this morning but it was after using the migration tool.

most of the Library files had the 'owner' and 'group' as numbers (i.e no longer linked to the actual user account logged in)

Open terminal. do ls -al in the home directory and see what you can see. You may find something like this (i've only pasted some for the purposes of illustration

C02NL05EF8J2:~ cpenna$ ls -al

total 240

drwxr-xr-x 31 cpenna LTU\Domain Users 1054 Mar 8 11:58 .

drwxr-xr-x 9 root admin 306 Nov 21 11:50 ..

-r-------- 1 cpenna LTU\Domain Users 7 Sep 22 09:19 .CFUserTextEncoding

-rw-r--r--@ 1 cpenna LTU\Domain Users 22532 Mar 8 11:30 .DS_Store

drwxrwxr-x 2 root LTU\Domain Users 68 Aug 27 2015 .InstallAnywhere

drwx------ 2 cpenna LTU\Domain Users 68 Mar 8 11:33 .Trash

drwx------@ 66 37682 37682 2244 Sep 27 09:04 Library

drwx------+ 9 cpenna LTU\Domain Users 306 Jan 27 2016 Movies


To fix this, do the following (replace username & groupname to match your system)

sudu chown -R username ~/Library

sudo chgrp -R groupname ~/Library


Hope this helps

macOS needs to repair your Library to run applications. Type your password to allow this.

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