When I remove a user or a group permission from a folder and all its children files and folders, this is what I do:
- Right click the folder
- Click "Get info"
- Unlock the padlock (typing my admin password)
- Remove users and or groups
- Press "Apply to all enclosed items" and confirm
How can I do this from the terminal?