Can I list all dataset permissions a specific user has?

Hello,

I am coming from FreeNAS, TrueNAS Core and now running Fangtooth 25.04.1.
Over the years I had jails and also have (and had) multiple clients accessing the TrueNAS server, for which I set up users and groups.

I would like to clean up the users. But to prevent breaking things by wiping a user, I want to be sure it is not used in a specific dataset that I overlooked.

Is there a way (CLI? docker container app?) to see the permissions a specific user has on the server datasets?

Thanks for any ideas/suggestions.

Short answer: no

Longer answer, look at the user to see which groups it’s a member of id <username> then open the ACL on the dataset mountpoint and check what permissions each of those groups and the user have on the dataset.

Do note that this is only authoritative for local accounts on the TrueNAS host. It will potentially be wrong for AD, LDAP, docker, etc users.

1 Like