Home TrueNAS Permissions
Post
Cancel
Preview Image

TrueNAS Permissions

Have a great deal of trouble with TrueNAS permsissions.

This forum entry gave quite a few hints at what to do. Generally I hae used Option 1.

This video from Lawrence Systems gave a simple overview of permissions in TrueNAS, but I still could not get it to work properly with Syncthing. Ended up having owner = sync and group = bob to get SyncThing to be able to write to folder, whilst still being able to view it on Mac. Would not accept group = sync even though bob was a member of sync.

  • Setup Users - Accounts -> Users
  • Setup Groups - Accounts -> Groups
  • Goto Group_Name, “>” at RHS. Click Members button
    • This brings up a screen where you can add/remove users to the group. NOTE: Never add root to a group, apparently it does not work
  • Generally recommended to setup a dataset for each group type
    • Select parent dataset, Storage -> Pools, 3-dots at RHS, Add Dataset
    • Add name (use underscores rather than spaces), click Submit
  • Having added Dataset, go to 3-dots RHS, click Edit Permissions
    • Defaults to root
    • Add/remove users as required
    • Tick Apply User and Apply Group, tick Apply recursively
    • Click Save button
  • NOTE: If get into a mess with ACLs, can use Strip ACLs to start over

Share via SMB

  • Add sharing via Sharing -> Windows Shares (SMB)
    • Expand path to find relevant dataset. NOTE: ACL indicates where permissions are coming from
    • Add any Description required Click Submit

Check the folder can be seen on the Mac / Windows machine

This post is licensed under CC BY 4.0 by the author.
Recently Updated
Trending Tags
Contents
Trending Tags