# Reset ACLs in NFS4/ZFS network share

How can I reset the ACLs on a ZFS file system on OpenIndiana that is exported via NFS4 and replace it with inherited permissions? Basically, I want to do the equivalent of icacls "C:\path\to\folder" /reset /T /C on Windows on this machine. However, neither the chmod command on OpenIndiana nor the nfs4_setacl seems to allow for deleting all ACLs although the client correctly interprets inherited ACLs if a node does not have an own one.

-

You can remove all non trivial ACLs in ZFS with the following: chmod A- filename
zfs set aclinherit=passthrough tank/volume