how to clear all acl permissions

How to clear all ACL permissions out on a drive?

Mac mini Server (Mid 2011), OS X Mountain Lion (10.8.3)

Posted on Jun 3, 2013 4:50 PM

Reply
4 replies

Jun 3, 2013 4:55 PM in response to jay47

Reset User Permissions and ACLs in Lion/Mountain Lion



Boot to the Recovery HD:


Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.


From the Utilities menu select Terminal. At the Terminal prompt enter: resetpassword. Press RETURN. When the window opens select your startup drive where it says "Select the volume containing the user account:" At the bottom of the window you will see, "Reset Home folder permissions and ACLs." Click on the Reset button.

Jun 4, 2013 3:38 AM in response to jay47

As far as I am aware, Kappy's suggestion would only reset the permissions on home folders in /Users on the boto drive. It would not reset permissions for an entire drive.


The following will I believe do what you want but be very, very careful with this command. You should definitately not do it on your entire boot drive. You could do it on a folder on your boot drive, or you can (if your happy) do it on an entire additional volume.


The -R flag means do recursively, the -N flag means remove ACLs


cd /Volumes

sudo chmod -R -N nameofvolumetoremoveallACLsfrom


e.g.


cd /Volumes

sudo chmod -R -N ExternalDrive


If you want to reset a single file/folder then


sudo chmod -N /path/to/folder/or/file


If you want to reset a folder and everything in it


sudo chmod -R -N /path/to/folder


Do not unless you want to destroy your system do


sudo chmod -R -N /

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to clear all acl permissions

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