# Help hard drive permissions/user & directory missing

**URL:** <https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [June 3, 2022, 8:21pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568 "2022-06-03T20:21:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![manofsteel084](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@manofsteel084](https://forums.plex.tv/u/manofsteel084)\
**Post date:** [June 3, 2022, 8:21pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568/1 "2022-06-03T20:21:43Z")

</div>

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

---

<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:** [June 3, 2022, 8:33pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568/2 "2022-06-03T20:33:37Z")

</div>

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

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/2):
>
> Using other hard drives (Windows or Linux) with PMS This How-To is written to help with Internal and External drives. It also is written to demonstrate how to cope with NTFS and EXT4 formatted drives. By logical extension, any format supported by Linux can be handled using the technique shown here. In all cases, the goal is to give user plex permission to read your media files which Linux doesn’t allow by default due to its strict security model. We will walk through the steps needed …

---

<div class="post-metadata">

**Author:** ![manofsteel084](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@manofsteel084](https://forums.plex.tv/u/manofsteel084)\
**Post date:** [June 3, 2022, 9:14pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568/3 "2022-06-03T21:14:44Z")

</div>

executed all commands, still cant see mounted drive.

 ![image](https://global.discourse-cdn.com/plex/original/4X/3/6/4/364918bd0b9ed8596b452c4b64b2e8804f961da6.png)

 ![image](https://global.discourse-cdn.com/plex/original/4X/3/9/e/39e4959212310561e7fbf7dcc945287c75f8ac3d.jpeg)

---

<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:** [June 3, 2022, 9:27pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568/4 "2022-06-03T21:27:35Z")

</div>

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

Where is the HDD really connected?

---

<div class="post-metadata">

**Author:** ![manofsteel084](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@manofsteel084](https://forums.plex.tv/u/manofsteel084)\
**Post date:** [June 4, 2022, 8:00pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568/5 "2022-06-04T20:00:18Z")

</div>

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

---

<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:** [June 4, 2022, 9:55pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568/6 "2022-06-04T21:55:48Z")

</div>

That is bizarre.

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

---

<div class="post-metadata">

**Author:** ![manofsteel084](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@manofsteel084](https://forums.plex.tv/u/manofsteel084)\
**Post date:** [June 5, 2022, 1:59pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568/7 "2022-06-05T13:59:39Z")

</div>

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

```auto
sudo systemctl edit plexmediaserver

```

Added 2 lines there

```auto
[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

```auto
sudo service plexmediaserver restart 

```

---

<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:** [September 3, 2022, 2:00pm UTC](https://forums.plex.tv/t/help-hard-drive-permissions-user-directory-missing/795568/8 "2022-09-03T14:00:01Z")

</div>

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