Hi All. I had a PMS on Windows, using an external hard drive. I decided I wanted to use it with a Raspberry Pi instead. Set up the RP, plugged in the external drive, everything looks fine…but I just can’t get Plex access to my media folders. I see the folder ‘media/pi/Seagate Desktop Drive’ when browsing for a library, but it’s greyed out, and no amount of chmod-ing or setfacl-ing on the plex user or group will enable it. Is is because I’m mounting the drive as user “pi”?
The setfacl command should be run on the /media/user directory; and, you shouldn’t need the recursive (-R) option. Something like the following should work: sudo setfacl -m u:plex:r /media/pi
However, best practice is to create a static mount point for the disk. Here’s some Information regarding how to set up a static mount to work with Plex:
[Edited to remove inaccurate auto-mount terminology].
In all honesty, if you are a Linux rookie… stay away from ACLs. They’re really not necessary in a simple server for PMS.
@pshanew advice is otherwise accurate, create a static mountpoint outside of the hotplug directory (Phillip, auto-mount really does mean something else, completely unrelated to locally mounted drives,) and create an entry in /etc/fstab. Once you’ve gotten the drive to mount via the /etc/fstab entry, make sure that the user that’s running the PMS daemon can at least read the tree (chmod,) potentially read/write if you want PMS to be able to remove items. @ChuckPA will tell you to do the chmod activity both before and after the mount.
The hotplug locations can be useful, but remember that they’re intended for use with ephemeral devices, and have some other activity & specific configurations.