TLDR: can someone help me with an optimal permissions practice how-to in a situation with a single “Media” dataset that 6 different jails/programs plus an SMB user need read/write access to?
Way back in the day messing around with Sonarr, Plex, and qBittorrent I just had to cheat and blast the library with a chmod -R 777, plus execute a qBittorrent post-download 777 to make everything work. Now that I understand FreeBSD and jails a bit better, I’m ready to start tightening things up and using better practices.
I’m guessing this involves making a Truenas “media” user and/or group that owns the dataset, then in each jail edit some .conf file to make each jail run as that user or group? Specific commands, file locations, or links would be of great help, thanks!