# Plex Permissions on Raspberry Pi OS

**URL:** <https://forums.plex.tv/t/plex-permissions-on-raspberry-pi-os/869059>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-linux-arm\
**Created:** [February 12, 2024, 12:34pm UTC](https://forums.plex.tv/t/plex-permissions-on-raspberry-pi-os/869059 "2024-02-12T12:34:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gamer127](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@Gamer127](https://forums.plex.tv/u/Gamer127)\
**Post date:** [February 12, 2024, 12:34pm UTC](https://forums.plex.tv/t/plex-permissions-on-raspberry-pi-os/869059/1 "2024-02-12T12:34:06Z")

</div>

I have the latest version of PMS running on a Raspberry Pi 4, running the latest version of Raspberry Pi OS.

When I try to add media to Plex, I can see very few folders (see screenshot.) I understand that this is because of Plex running as the user ‘plex’ and that the user that I configured Raspberry Pi OS with is ‘pi’.

What is the most effective way of giving permissions to the ‘plex’ user?

I have a mixture of files that are stored in a folder on the desktop, and also on an external HDD, which is formatted as NTFS (and needs to stay as NTFS.)

There are a lot of guides out there on Google, but I’m never sure which is correct / up to date.

 ![Screenshot 2024-02-12 at 12.31.23](https://global.discourse-cdn.com/plex/original/4X/7/6/d/76d5ce60fe57b4305598bd216df0d05421dc0d1f.png)

---

<div class="post-metadata">

**Author:** ![jester\_tenet](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jester\_tenet](https://forums.plex.tv/u/jester_tenet)\
**Post date:** [February 12, 2024, 1:33pm UTC](https://forums.plex.tv/t/plex-permissions-on-raspberry-pi-os/869059/2 "2024-02-12T13:33:14Z")

</div>

Assuming you have access to the command line on the server chown and chgrp would be simple ways of doing it

---

<div class="post-metadata">

**Author:** ![Gamer127](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@Gamer127](https://forums.plex.tv/u/Gamer127)\
**Post date:** [February 12, 2024, 1:46pm UTC](https://forums.plex.tv/t/plex-permissions-on-raspberry-pi-os/869059/3 "2024-02-12T13:46:42Z")

</div>

I do indeed. I have run the following:

**sudo chown -R plex:plex /media/pi/Elements/Media**

However, the folder doesn’t show the owner as being ‘plex’

Is there something wrong with the command that I am issuing?

 ![Screenshot 2024-02-12 at 13.44.36](https://global.discourse-cdn.com/plex/original/4X/3/f/a/3fa50dce932ef0539aff02f3ffc2f61d3a7962d5.png)  
 ![Screenshot 2024-02-12 at 13.43.39](https://global.discourse-cdn.com/plex/original/4X/e/5/e/e5e170518a91b6cdc3a59438b450263461f9323b.png)  
 ![Screenshot 2024-02-12 at 13.43.32](https://global.discourse-cdn.com/plex/original/4X/8/4/5/8450f01c6f7a1514c517b76c978bf76df82f7d10.png)  
 ![Screenshot 2024-02-12 at 13.43.05](https://global.discourse-cdn.com/plex/original/4X/c/f/6/cf6875681d917472a2a06b86a7ccd239586b1991.png)

---

<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 12, 2024, 3:20pm UTC](https://forums.plex.tv/t/plex-permissions-on-raspberry-pi-os/869059/4 "2024-02-12T15:20:52Z")

</div>

When you mount USB drives (pretty much ANYTHING in /media)

1. Don’t let the automounter do it. Permissions look right but never work.  
(Nautilus does what it wants and not what it’s told )

2. Make a mount point directory away from /media which is stable and username-idependent.

This How-To has been available for a while 😉

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

The TL;DR -

1. You own the media and have full control.
2. You grant ‘plex’ permission (RO or RW) as you deem appropriate
3. Issues disappear

---

<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 12, 2024, 3:21pm UTC](https://forums.plex.tv/t/plex-permissions-on-raspberry-pi-os/869059/5 "2024-05-12T15:21:34Z")

</div>

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