# Default groups of plex user \[Ubuntu 18.04\]

**URL:** <https://forums.plex.tv/t/default-groups-of-plex-user-ubuntu-18-04/371237>\
**Category:** General Discussions\
**Tags:** server-linux\
**Created:** [February 3, 2019, 9:45pm UTC](https://forums.plex.tv/t/default-groups-of-plex-user-ubuntu-18-04/371237 "2019-02-03T21:45:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bokiscout](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bokiscout/32/118424_2.png) [@bokiscout](https://forums.plex.tv/u/bokiscout)\
**Post date:** [February 3, 2019, 9:45pm UTC](https://forums.plex.tv/t/default-groups-of-plex-user-ubuntu-18-04/371237/1 "2019-02-03T21:45:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [February 3, 2019, 10:58pm UTC](https://forums.plex.tv/t/default-groups-of-plex-user-ubuntu-18-04/371237/2 "2019-02-03T22:58:31Z")

</div>

User **plex** belongs in only two groups: **video** and **plex**

Here: [https://forums.plex.tv/tags/server-linux-tips](https://forums.plex.tv/tags/server-linux-tips)

You will find:

> [@Using EXT, NTFS, or other format drives (internal or external) on Linux](https://forums.plex.tv/t/using-ext-or-ntfs-drives-internal-or-external-on-linux/198544):
>
> This document is of primary interest to anyone who has connected USB drives or has media on other internal drives but user plex can’t access it due to Linux’s default security mechanisms. WARNING: This procedure will not work for SNAP, Docker or other container mechanisms unless expressly handled within the confines of the container. This procedure is intended for use with the dpkg package. We will walk through the steps needed to add these external USB hard drives and internal hard drives…

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [May 4, 2019, 10:58pm UTC](https://forums.plex.tv/t/default-groups-of-plex-user-ubuntu-18-04/371237/3 "2019-05-04T22:58:36Z")

</div>

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