I'm trying to find the terminal command on a Mac to remove ACL to fix user permissions on a folder that gives an error code when I try to copy it (error code -41).
chmod -a allows one to remove access control entries individually (as @geekosaur suggested).
But if you are looking to remove all ACLs from a file or folder, the solution is to use the brute-force option:
chmod -N which removes all access control entries for a file or folder.
chmod -RN will do the same recursively for a folder and its entire contents.
It's all bundled into the
chmod command; take a look at the
=a options in the manpage.