Help hard drive permissions/user & directory missing

Server Version#: 1.26.2.5797

Ubuntu version# 22.04

i am fairly new to linux/ubuntu, but i have been searching through all of the help with regards to adding a 2nd hard drive for media and getting Plex media server to see it.

so far i have followed steps to correctly install the hard drive, format it for gpt & ext4, edited /ect/fstab and the drive is easily accessible but not to plex media server.

i have followed steps to change permissions to the directory where the hard drive is mounted, though i have created a group “plex” it doesnt seem to be available as a option in folder permissions.

i have tried to change the default plex user but cannot find the application support directory in the default locations on my system.

bottom line i seem to be missing ways to make the mounted hard drive visible to plex media server as described in all of the permissions tutorials.

Please help

Recommend reviewing the FAQ / How-To.
It should help you see what step was missed.

1 Like

executed all commands, still cant see mounted drive.

This is a VM? (notice michael-virtual-machine)

Where is the HDD really connected?

yes that was a VM. i was using it for testing to solve the issue i am having with a physical machine without loss of data.

in the /ect/fstab i used the UUID that i puled from the blkid for /HDD mount point

That is bizarre.

What filesystem formatting is in use?
Also, which hypervisor and do you have raw passthrough of the device?

problem semi solved.

i learned from this. first the file system and location of plexmediaserver items was not present in the VM that i setup to solve the issue.

second the best solution for me ended up being the following.

Maybe this was different back when posted ;Using ubuntu 18.04 lts; had to run

sudo systemctl edit plexmediaserver

Added 2 lines there

[Service]
User=user-that-can-access-media-mount
Group=group-of-user-above

Then sudo chown -R user-that-can-access-media-mount:group-of-user-above /var/lib/plexmediaserver

Then restarted the server

sudo service plexmediaserver restart 

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.