# Plex Permissions on Linux Server

**URL:** <https://forums.plex.tv/t/plex-permissions-on-linux-server/356577>\
**Category:** General Discussions\
**Tags:** server-linux\
**Created:** [January 2, 2019, 12:45pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577 "2019-01-02T12:45:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnAverageUser](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/anaverageuser/32/95495_2.png) [@AnAverageUser](https://forums.plex.tv/u/AnAverageUser)\
**Post date:** [January 2, 2019, 12:45pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/1 "2019-01-02T12:45:47Z")

</div>

I recently decided to change my server over to a linux server (as requested) and came over the issue that i couldn’t select the folder i wanted which was called “Storage4”. I figured that this would be a permission issue and attempted to fix it, after multiple tries using other posts such as “[Plex Wont Read Folders/Files on Mounted Drive in Linux Mint](https://forums.plex.tv/t/plex-wont-read-folders-files-on-mounted-drive-in-linux-mint/69278)” and “[https://askubuntu.com/questions/150909/plex-wont-enter-my-home-directory-or-other-partitions](https://askubuntu.com/questions/150909/plex-wont-enter-my-home-directory-or-other-partitions)”, i pretty much gave up in annoyance. I have fixed the NTFS error on both of my hard drives.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [January 2, 2019, 1:04pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/2 "2019-01-02T13:04:41Z")

</div>

Have you checked out the [Linux Tips](https://forums.plex.tv/t/linux-tips/276247/19)?  
I’m not fully sure if Linux and NTFS are such a great combination…

---

<div class="post-metadata">

**Author:** ![AnAverageUser](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/anaverageuser/32/95495_2.png) [@AnAverageUser](https://forums.plex.tv/u/AnAverageUser)\
**Post date:** [January 2, 2019, 1:22pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/3 "2019-01-02T13:22:22Z")

</div>

No such file or directory for ‘inherit’  
As you can probably tell, i’m not too good with Linux…

---

<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:** [January 2, 2019, 5:52pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/4 "2019-01-02T17:52:49Z")

</div>

NTFS does not use Linux permissions.

Therefore, the **ntfs-3g** drivers & packages yield the equivalent of fully open (full access).

If PMS cant read the files , the most common problem is where the drive is mounted.

In Ubuntu, Fedora, and most other systems using Gnome, **/media** is a reserved directory. As such, anything visible in there is **exclusive** access to you. User **plex** will have no access.

Please provide additional details. A good starting point is a **df** output capture (copy/paste as ‘code’) so we can see what you’re seeing.

---

<div class="post-metadata">

**Author:** ![AnAverageUser](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/anaverageuser/32/95495_2.png) [@AnAverageUser](https://forums.plex.tv/u/AnAverageUser)\
**Post date:** [January 2, 2019, 6:25pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/5 "2019-01-02T18:25:46Z")

</div>

```auto
> Filesystem 1K-blocks Used Available Use% Mounted on
> udev 4033540 0 4033540 0% /dev
> tmpfs 813212 1656 811556 1% /run
> /dev/sda2 114336932 10193368 98292480 10% /
> tmpfs 4066048 9476 4056572 1% /dev/shm
> tmpfs 5120 4 5116 1% /run/lock
> tmpfs 4066048 0 4066048 0% /sys/fs/cgroup
> /dev/loop0 2304 2304 0 100% /snap/shell2http/68
> /dev/loop1 58496 58496 0 100% /snap/powershell/14
> /dev/loop2 8704 8704 0 100% /snap/shadowsocks/30
> /dev/loop3 89088 89088 0 100% /snap/core/4917
> /dev/loop4 89472 89472 0 100% /snap/smonitor/5
> /dev/sda1 523248 6228 517020 2% /boot/efi
> tmpfs 813208 40 813168 1% /run/user/1000
> /dev/loop5 91648 91648 0 100% /snap/core/6130
> /dev/sdd1 976760828 708797156 267963672 73% /media/serverpc/Storage 3
> /dev/sdc1 976760000 497475028 479284972 51% /media/serverpc/Storage4

```

---

<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:** [January 7, 2019, 12:20pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/6 "2019-01-07T12:20:17Z")

</div>

Please notice.

1. /dev/sdd1 and /dev/sdc1 are **automounted** under `/media`, with username **serverpc**
2. The disks labels are “Storage 3” and “Storage4”

Please use this procedure for both sdc and sdd to create new mount points away from /media (the root problem here)

> [@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…

---

<div class="post-metadata">

**Author:** ![AnAverageUser](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/anaverageuser/32/95495_2.png) [@AnAverageUser](https://forums.plex.tv/u/AnAverageUser)\
**Post date:** [January 7, 2019, 5:20pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/7 "2019-01-07T17:20:57Z")

</div>

I’m a bit confused on D, could you explain it a bit more please?

---

<div class="post-metadata">

**Author:** ![JoePhelps](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@JoePhelps](https://forums.plex.tv/u/JoePhelps)\
**Post date:** [January 7, 2019, 5:31pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/8 "2019-01-07T17:31:47Z")

</div>

I found this article to be helpful regarding fstab.

[https://www.howtogeek.com/howto/38125/htg-explains-what-is-the-linux-fstab-and-how-does-it-work/](https://www.howtogeek.com/howto/38125/htg-explains-what-is-the-linux-fstab-and-how-does-it-work/)

---

<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:** [January 8, 2019, 6:22pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/9 "2019-01-08T18:22:33Z")

</div>

Which part of step _D_ confuses you?

In my example, I show the new line for one of the disks added.

```auto
# Addtions for external and internal drives
# Mount Media-3 (ext4) at /disks/media3 for Plex
UUID=50f1a141-bc8a-48ba-9b29-8a7bee8043e9 /disks/media3 ext4 defaults,auto,rw,nofail 0 1

```

Is there something in that which you don’t understand about the step or something else ?

---

<div class="post-metadata">

**Author:** ![AnAverageUser](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/anaverageuser/32/95495_2.png) [@AnAverageUser](https://forums.plex.tv/u/AnAverageUser)\
**Post date:** [January 11, 2019, 11:31pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/10 "2019-01-11T23:31:06Z")

</div>

I thought i had it but plex is acting up again, now i can’t see the “disks” folder in my directory from Plex.

---

<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:** [April 11, 2019, 11:31pm UTC](https://forums.plex.tv/t/plex-permissions-on-linux-server/356577/11 "2019-04-11T23:31:07Z")

</div>

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