Setting permissions for plex media

I’m about to set up plex under 24.10.1 manually via dockge and wondered if there’s a good guide to setting permissions for the media for plex/arr apps and possibly access via SMB too?

I’m thinking something like:

  • create new data set named media with app preset
  • rsync existing media from old nas to that freshly created media dataset
  • chown -R apps:apps /mnt/tank/media (maybe not needed)
  • set up plex/arr apps with PUID/PGUID=568
  • add my SMB user & apps user with allow/modify in media filesystem acl
  • add my user in smb share acl for full access