The setfacl command is also used with the -x option to remove the applied ACL for any user or group. The only difference when removing ACL from setting ACL is that we don't specify the permission while removing. The following example illustrates the usage of the setfacl command to remove the ACL applied to a file named as file1 for the user jack and the group sam:
$ setfacl -x u:jack,g:sam file1
To remove all ACLs from a file or directory, we can use the -b option, as shown in the following command:
$ setfacl -b file1