Default groups of plex user [Ubuntu 18.04]

Hi,

I had a trouble adding my existing multimedia content to plex library. It turns out that the media files were not visible to plex due to mount point of my HDD (/medina//HDD).

After mounting the HDD at /mnt/HDD the media files are visible and the server is working just fine.

While debugging I changed the default groups of the plex user to see if it is problem with the access permissions. Now plex user is part of root, sudo and many other groups where it is not meant to be.

I want to remove all the extra groups that plex user was added. So please tell me in which groups plex user belongs to on default installation.

Thank you.

User plex belongs in only two groups: video and plex

Here: https://forums.plex.tv/tags/server-linux-tips

You will find:

This is how you can most easily manage the problem.

The TL;DR

  1. Move the media away from /media because Gnome’s Nautilus owns that directory
  2. Directories get 755 permissions
  3. Files get 644 permissions
  4. You retain ownership.
  5. Done.