Ive been trolling through this forum - trying to work out the right commands for permissions on my new ubuntu install so that plex can see the media directories.
Going back a step before solving for plex heres the current config:
Installed SabNZB, radarr & sonarr - they are running using user = root - i know i should probably change this, but want to get everything working first before i do
my username = matt
installed plex media server, username = plex
added root, plex and matt users to group called media
set up my 2nd hard disk (SSD) with owner = matt, and Group = media
Sab, radarr and sonarr are working fine - downloading and storing files on disk = media
Plex up and running fine but when I try and add the directories plex doesnt seem to index the files in movies and tv. I gather its a permissions issue, although I assume that plex gets permission from the group permissions on the media directory?
The find / chmod command you show is correct.
The chown should be such that your UID owns the files.
This results in plex having Read-only access to the media every time.
One problem you do have is the /media directory.
If this is a HDD mounted by the automounter, Plex will NOT have any access.
Automounts are exclusive to your user id.
The NUC has 2 SSD drives - one 500GB one where ubuntu is installed and one 2TB one (the media storage SSD)
So yep im at step 4 in your list - im just asking (sorry im a noob) i only need to add an entry in fstab for the 2 TB media drive right? not the main ubuntu drive?
incidentally the main media storage drive is /dev/sdb1 1921724608 13343036 1810689516 1% /media/matt/Media
update
i pushed on and added both SSD’s but coudnt mount the SSD with unbuntu installed as it was already mounted. so I commented it out for now.