Scanner without access to home folder

Server Version#: 1.41.0.8994
Player Version#:4.139.0

I’ve installed plex in odroid-c2 running latest Armbian. Plex Media Scanner doesn´t have access to media folders mounted in home folders. The same media folder copied to /var/media (for example) can be read, but not in /home/user/media.

So I’ve found the override service in systemd
sudo systemctl edit plexmediaserver
and adding:
[Service]
ProtectHome=no

But the scanner still can´t read it.

The folder can’t be read by the user PMS runs as: Incorrect permissions/ownership.

Given most media is READ-ONLY, recommend:

  1. The directory path to the media be +rx
  2. The file(s) themselves be +r

e.g.

if using /home/chuck/media

chmod 755 /home/chuck
chmod 755 /home/chuck/media

# Now apply permissions to all in home/chuck/media
find /home/chuck/media -type d -exec chmod 755 {} \;
find /home/chuck/media -type f -exec chmod 644 {} \;

Now, the only thing which might block is the automounter

the same folder with same files and same ownership/permissions, one copy of this folder was in HOME the other anywhere but home, PMS can´t read the folder in /home/user/media (boost::filesystem::status: Permission denied [system:13]:).

I guess it must be some systemd home folder protection for services enabled by default, and I can´t disable it.

Oh, I hate those. It’s either a namespace of remapped (containered) home.

I don’t know how much I can help here as we aren’t equipped to run or test that distro.

Have you considered Ubuntu / debian on ARM? We can handle those (they’re supported)

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