• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
MacOS Sierra: How to Repair Permissions

MacOS Sierra: How to Repair Permissions

August 29, 2018 by Mitch Bartlett 22 Comments

If the permissions on your MacOS Sierra system seem broken, the OS comes with a utility you can use to repair the permissions. Here’s how it’s done.

For those of you familiar with the “Repair Disk Permissions” option that used to be located under “Utilities” > “Disk Utility” > “First Aid” in older versions of MacOS, you may notice this option is gone in MacOS Sierra. Instead, you have to perform these steps in Terminal.

  1. From the Finder, select the “Go” menu, then choose “Utilities“.
  2. Open “Terminal“.
  3. Type the following command, then press “Enter“:
    diskutil resetUserPermissions / `id -u`

Some users may need to run the command with “sudo” in front of it:

sudo diskutil resetUserPermissions / `id -u`

The system will then verify and repair permissions.

You Might Also Like

  • MacOS Sierra: Flush DNS Cache
    MacOS Sierra: Flush DNS Cache
  • Outlook Won't Work in MacOS High Sierra - Fix
    Outlook Won't Work in MacOS High Sierra - Fix
  • MacOS Sierra: Enable/Disable Spotlight Indexing
    MacOS Sierra: Enable/Disable Spotlight Indexing
  • MacOS Sierra: Enable/Disable System Integrity Protection
    MacOS Sierra: Enable/Disable System Integrity Protection
  • Fix: Windows Automatic Repair Loop, No Admin Account
    Fix: Windows Automatic Repair Loop, No Admin Account
  • What Do the Discord Role Permissions Mean?
    What Do the Discord Role Permissions Mean?

Filed Under: macOS

Reader Interactions

Comments

  1. Mich Kyn says

    February 12, 2021 at 1:27 pm

    Full success. Mac Tower, dual 2.2 ghz. Sierra. OsX 10.12.6.
    Apple removing features like “repair permissions” is not… apple. fuk.
    Still miss Tiger. Fast, light, fierce.
    anyway.
    Had to open Home and Unlock… as per instructions below. Then Terminal command with Sudo.
    OK, in case this helps anyone else, FIRST do this:

    From Neil Barstow
    1. From the Finder menu bar, choose Go > Home. Your home folder opens.
    2. Choose File > Get Info. An Info window for your home folder opens.
    3. If the Sharing & Permissions section at the bottom of the window isn’t open, click the triangle
    4. in that section to open it.
    5. If the Lock button at the bottom of the window is closed
    6. click the lock and enter an administrator name and password.
    7. Click the action menu
    9. When the progress bar completes, open the Terminal app, which is in the Utilities folder of your Applications folder.
    10. Paste or type diskutil resetUserPermissions / `id -u` in Terminal, then press Return.
    8. in the bottom of the window, then choose “Apply to enclosed items.” Click OK to confirm the action. A progress bar appears at the top of the window.

    neils-mini:~ neilbarstow$ sudo diskutil resetUserPermissions / `id -u`
    Password:

  2. Teri says

    February 9, 2021 at 5:07 am

    I was transferring items from a TM backup drive. What I realized was the item that had no permission had to be open and on top for this to work, meaning you have to do this one folder or item at a time. I opened the info and unlocked it; then when I ran the Terminal command, the permissions for that folder were reset. Actually, I have High Sierra, but I suspect that the process works the same. I hope this helps someone.

  3. Elv says

    January 28, 2021 at 3:54 am

    I know this is a old post and I can’t figure out what is causing this problem for me…

    I have checked all permissions on the users. I am admin.

    All over applications run fine.

    I have this 1 application that installed find but won’t open.

    I have done terminal commands. I have enabled root access login and the application opens in the root user and opens for my wife user and even my kids users even though the kids have read only access…

    I have restarted into safe mode and csrutili disable this so I have full access over the computer commands.. and I can’t work out why this application doesn’t work.

    When I do terminal command on the other users the application opens but on my user that has full access this comes up…

    /Applications/Shadow.app/Contents/MacOS/Shadow

    Elviss-iMac:~ urbansandwich$ /Applications/Shadow.app/Contents/MacOS/Shadow
    Error before logger init Error: EACCES: permission denied, mkdir ‘/Users/urbansandwich/.shadow’
    at Object.mkdirSync (fs.js:925:3)
    at e.exports._createLogDirIfNotExist (/Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:313:306106)
    at new e.exports (/Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:313:300795)
    at Module. (/Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:550:118590)
    at n (/Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:1:158)
    at Module. (/Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:295:128613)
    at n (/Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:1:158)
    at Object. (/Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:295:128178)
    at n (/Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:1:158)
    at /Applications/Shadow.app/Contents/Resources/app.asar/release/main/main.js:1:958 {
    errno: -13,
    syscall: ‘mkdir’,
    code: ‘EACCES’,
    path: ‘/Users/urbansandwich/.shadow’
    }

    EACCES: permission allow, mkdir ‘/Users/urbansandwich/.shadow’
    – [ ]

  4. Paul Smit says

    September 25, 2020 at 5:16 am

    I ran the sudo diskutility command to reset permissions, and the system came back stating that user permissions had been reset. When I tried to open a no. of files the system , however, responded as before that “the file could not be opened”.
    What else can I do?
    Thank you, Paul

  5. henna raita says

    April 28, 2020 at 3:23 am

    i’ve had this on my bookmarks and have been doing this procedure every now and then. it has always worked with the “sudo” but now i tried and i get the exact same error as neil (in this thread). wonder why that is…

  6. nhoj odarroc says

    January 13, 2020 at 6:46 pm

    I ran sudo diskutil resetUserPermissions / `id -u`
    it said it reset permissions, but I go into Applications folder, do a Get Info on SAFARI, click on padlock, enter my admin password, try to change EVERYONE form Custom to Read and Write and get that operation can’t complete because I don’t have necessary permissions crap. I am logged in as administrator but always have to enter my password to change anything. Oh yeah, by the way, why do I have to COPY instead of MOVE? I have noticed that I try to MOVE and it COPYies instead. Then I have to admin paswd to DELETE original file. Good thing I have extra space on HD. I use to like APPLE. Hell I use to own their stock. But now, Apple wants to control my Mac. It is mine, I paid for it and will not let anyone tell me what I can or not do. I do not upgrade anything from Apple. I blocked all unnecessary communications with Apple. I even dumped their stock.

  7. Kater Karlo says

    August 22, 2019 at 4:46 am

    If I run from shell in rescue mode on High Sierra I get an error -69844 Unable to launch the underlying task process

  8. Kater Karlo says

    August 22, 2019 at 4:34 am

    It wasn‘t clear to me if this worked in rescue mode.
    Also nice to know that ‚id -u‘ is for the cutrent user only and it could be used for others users as well.

    It didn‘t help me though. I ran it with sudo fo my main admin account which cannot open any files anymore. It seems access to files is corrupted. App give error message like „file corrupted or incomplete“. Icons for apps show suuuuuper slowly in finder.

  9. Neil Barstow says

    August 22, 2019 at 4:32 am

    OK, in case this helps anyone else, FIRST do this:

    1. From the Finder menu bar, choose Go > Home. Your home folder opens.
    2. Choose File > Get Info. An Info window for your home folder opens.
    3. If the Sharing & Permissions section at the bottom of the window isn’t open, click the triangle 
    4.  in that section to open it.
    5. If the Lock button at the bottom of the window is closed 
    6.  click the lock and enter an administrator name and password.
    7. Click the action menu 
    9. When the progress bar completes, open the Terminal app, which is in the Utilities folder of your Applications folder.
    10. Paste or type diskutil resetUserPermissions / `id -u` in Terminal, then press Return.
    8.  in the bottom of the window, then choose “Apply to enclosed items.” Click OK to confirm the action. A progress bar appears at the top of the window.

    neils-mini:~ neilbarstow$ sudo diskutil resetUserPermissions / `id -u`
    Password:
    Ready to reset user permissions on disk2s1 Macintosh SSD
    Started verify/repair permissions on disk2s1 Macintosh SSD
    User permissions have been reset
    Finished verify/repair permissions on disk2s1 Macintosh SSD
    neils-mini:~ neilbarstow$

  10. Neil Barstow says

    August 22, 2019 at 4:20 am

    Hi

    sadly even with sudo I get this:
    neils-mini:~ neilbarstow$ sudo diskutil resetUserPermissions / `id -u`
    Password:
    Ready to reset user permissions on disk2s1 Macintosh SSD
    Started verify/repair permissions on disk2s1 Macintosh SSD
    Some user permissions have been reset
    Error: -69841: Permissions reset on user home directory failed
    Underlying error: 1: Operation not permitted
    neils-mini:~ neilbarstow$
    do you have any thoughts please?

  11. sal paradise says

    July 11, 2019 at 6:35 pm

    Brilliant…my update to LPX has been beset with stuff that needed fixing to work like 9. Thanks a mill..this tip got me back my ‘save as default’ capability on the plugins and saved me a lot of frustration.

  12. Anne says

    June 1, 2019 at 1:13 pm

    I haven’t tried your fix yet. I will and will report back. Agree that Steve Jobs is rolling over in his grave regarding these horrible permission problems. I used to love my Macs because they made things so easy. But Macs which used to have the temperament of Canada, are now North Korea.

    My High Sierra automatically updated itself, now I can’t back it up on my backup drive and I have permissions problems galore w/microsoft word. I found that closing word and opening it up again helps sometimes w/some documents. but it is mercurial and crazy. and Apple keeps promising that ‘with this new update, permissions problems will be resolved!’ but its never true. Apple now is more akin to a used car salesman. If I had a better option, I’d leave them in a NY minute.

  13. Andrew says

    March 29, 2019 at 6:13 am

    I tried this and other suggestions, first aid in disk utility, changing things back and forth in spot light search all to no avail. Then I did the update to 10.14.4 (18E226) with the necessary restart. After the restart spotlight is making suggestions from the Mac hard drive again and I note looks to be completely re-indexing the Hard drive.
    So something worked but can’t say which or which combination.
    Many thanks for the guide

  14. Yorith says

    February 8, 2019 at 2:26 pm

    Hey Paul, I know this is late but just append a sudo to the front of the command and you should be good to go.

  15. JUDITH FINDLEY says

    December 10, 2018 at 1:40 pm

    NO!!!!!!! Followed directions EXACTLY, nothing happened. I read that your typing strokes may not show up and they didn’t, neither did any changes happen. My Terminal reads:
    Last login: Fri Nov 9 08:56:35 on console
    login: login: Could not determine audit condition

    {Process completed}

    It’s now December 10, 2018 and I can’t save any documents anywhere because the computers says that I do not have permission to write to this location (desktop, by the way)

  16. Zorba says

    November 17, 2018 at 5:08 pm

    Ridiculous that this is suddenly “gone”. The continued de-contenting of software by BOTH Apple and Microsoft continues – trying to turn my expensive computer into a limited “device”. Between that and Apple’s penchant for releasing a “new” version of OS X every year whether they need to or not is very frustrating. I don’t really see much difference between “Jaguar” – the 1st OS X version I encountered, and Sierra, what I’m running now; except for poorer contrast displays, de-contented software, and software broken with every release!

  17. Lem Maurer says

    October 15, 2018 at 11:35 am

    I got the same error as Paul Sargaison. Any ideas?

  18. Phil says

    August 29, 2018 at 9:06 am

    Paul – run the command with sudo in front: sudo diskutil resetUserPermissions / `id -u`
    That will solve the problem for you.

  19. Dean Moriarty says

    August 7, 2018 at 4:45 pm

    Thanks man, after they removed this thing from the UI, I actually managed to muck up the permissions for the first time in a decade. Super helpful.

  20. Marcella Selko says

    July 8, 2018 at 11:03 am

    Your solution was short, clear, easy to follow and seems to have fixed it. So glad I found you. So angry at Apple. Been using Macs for over 30 years (yes, orig in back of closet – cute) and Jobs should be turning over in grave. Current Apple corp becoming megalomaniacal. Taking away tools. Sealing up batteries. Making users helpless. Anyway – thank you!

  21. Simon says

    June 22, 2018 at 1:36 pm

    Thankyou so much : worked like a dream !! Facebook now running normally

  22. Paul Sargaison says

    June 4, 2018 at 3:51 am

    Hi I gave it a try in Sierra and got this…
    Error: -69841: Permissions reset on user home directory failed
    Underlying error: 1: POSIX reports: Operation not permitted
    Any ideas Thanks paul

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • How to Fix Explorer.exe: Class Not Registered Error in Windows 11
  • How to Fix Explorer.exe Doesn’t Load at Startup Issue
  • How to Enable/Disable Efficiency Mode in Windows 11
  • How to Create and Edit a Playlist on YouTube Music
  • Microsoft Edge Collections: What It is and How to Use It
  • YouTube Premium: How to Disable/Enable Background Playback
  • How to Update Apps on iPad (iPadOS 16.3.1)
  • How to Fix Outlook Rules Are Not Supported for This Account

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy