Nfs4xdr_setfacl issues

I recently installed truenas scale. I am trying to reset the permissions on zfs volume / data set that were from my old freenas install. So recursively cleared all the acl’s. I recursively set all owner and group to root. chmod directories to 755 and files to 640. Now I want to go through and set up acls properly. So I try, for example

nfs4xdr_setfacl -R -a "A:df:OWNER@:rwatTcCy" /mnt/volume0/home

But now matter how I seem to form the command it always returns an error of invalid tag.

What am I doing wrong here?

Why don’t you just use the UI?

I have subdirectories that I want with different acls. (My other option was to pull them out to the top level and use the UI, but that is a fallback.)

After a little more exploration and creating some child datasets, it looks like I can do what I want through the UI. This is great as dealing with acl’s from CL is a real pain.

1 Like