Accidently locked myself out from Home-Folder

For anyone finding this thread later on: I never got the “Administrators Group” actually working, do not yet know why.

But via this thread and some trial&error with the TrueNAS patched ACL tools, I found a way for me to restore access good enough so I could continue with Windows Explorer / PowerShell to fully fix my ACLs:

nfs4xdr_setfacl -R -a g:GROUP_NAME:full_set::allow DIR_NAME

Needing to replace GROUP_NAME & DIR_NAME with correct names. AD group name worked in lower case & without domain, i.e. to give CONTOSO\ExampleShareAdmins permissions, use exampleshareadmins. Probably also works with user accounts directly using u:USER_NAME: as prefix, but I have not testet that.

This worked on my TrueNAS Scale, connected to an AD & with an AD group name, so that correctly authenticated Windows clients can access the files & edit the ACLs with native Windows tools when executed as root user on TrueNAS.