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

Using 'diskutil' to 'resetUserPermissions'

I am using a previous method to fix slow performance of my iMAC computer, but the 'string' diskutil resetUserPermissions /'id -u' now returns the following:

"Incorrect number of parameters

Usage:  diskutil resetUserPermissions MountPoint|DiskIdentifier|DeviceNode UID

Reset the permissions of a user home directory.

Ownership of the affected disk is required."

How can I fix this ?

Have I used an incorrect 'string' regarding spaces and other characters?

What are the implications (security) if I just close the Terminal Box ?


Posted on Jul 4, 2019 5:46 PM

Reply
Question marked as Best reply

Posted on Jul 4, 2019 8:05 PM

Check out this article. From the example in the article the command uses back tics (found on the tilde "~" key) and not regular apostrophes around the "id -u" portion of the command. Compare them here:

`  back tic
'  normal apostrophe


So it should like like this:

diskutil resetUserPermissions / `id -u`



2 replies
Question marked as Best reply

Jul 4, 2019 8:05 PM in response to pamela542

Check out this article. From the example in the article the command uses back tics (found on the tilde "~" key) and not regular apostrophes around the "id -u" portion of the command. Compare them here:

`  back tic
'  normal apostrophe


So it should like like this:

diskutil resetUserPermissions / `id -u`



Using 'diskutil' to 'resetUserPermissions'

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