MacOS – How to repair permissions of a specific directory

disk-utilitymacospermission

I want to repair permissions of a user defined directory along with it's subdirectories.
How can I do this?

So far, I've looked for options in finder and tried to drag the folder into Disk Utility. But none of my ideas brought success.

Best Answer

Repairing permissions only affects System files, and files installed from a package with the Installer, which give a BOM (Bill Of Materials, stored in the (~)/Receipts folder) that list the expected permissions. There is no meaning in repairing permissions for “a specific directory“, as an arbitrary directory has no expected permissions against which to compare, unless it is one listed in one of the said files.

(just for sourcing: Wikipedia agrees  ;)  )


If you want to change permissions of a lot of files at once, for example by having copied them from another drive with permissions, and you encounter problems with them, you could use a tool such as BatchMod :)