# PMS Custom Config in Debian

**URL:** <https://forums.plex.tv/t/pms-custom-config-in-debian/658887>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [November 28, 2020, 6:33pm UTC](https://forums.plex.tv/t/pms-custom-config-in-debian/658887 "2020-11-28T18:33:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevindd992002](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@kevindd992002](https://forums.plex.tv/u/kevindd992002)\
**Post date:** [November 28, 2020, 6:33pm UTC](https://forums.plex.tv/t/pms-custom-config-in-debian/658887/1 "2020-11-28T18:33:12Z")

</div>

@ChuckPa, I was reading your guide here [Customizing your Plex configuration](https://forums.plex.tv/t/customizing-your-plex-configuration/205443) and I just have one question. How do I know if the Umask/UMask of 002 is working on my Linux installation? Which new files/directories does Plex use the umask for?

I tried setting Preferences.xml to 664 but as soon as I start PMS (after reloading systemd to recognize the umask changes in the override.conf), the file immediately reverts to 644 permissions. So I’m not sure if that’s a good way to test this.

---

<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:** [November 28, 2020, 7:33pm UTC](https://forums.plex.tv/t/pms-custom-config-in-debian/658887/2 "2020-11-28T19:33:49Z")

</div>

Preferences.xml doesn’t count.

The primary, and intended, use of UMask is for DVR recording.

Did you use `002` or `0002` as the value? 4 digits are required.

---

<div class="post-metadata">

**Author:** ![kevindd992002](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@kevindd992002](https://forums.plex.tv/u/kevindd992002)\
**Post date:** [November 28, 2020, 10:15pm UTC](https://forums.plex.tv/t/pms-custom-config-in-debian/658887/3 "2020-11-28T22:15:02Z")

</div>

I see. I used 002 as I thought its the standard and that it was just a bug to use 4 digits as you mentioned in some thread. Do I need to use 4 digits instead? And how do I test?

---

<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:** [November 28, 2020, 11:14pm UTC](https://forums.plex.tv/t/pms-custom-config-in-debian/658887/4 "2020-11-28T23:14:23Z")

</div>

> [@Customizing your Plex configuration](https://forums.plex.tv/t/customizing-your-plex-configuration/205443):
>
> Customizing your Plex configuration on systemd based systems This information is intended for those systems where cat /proc/1/comm returns systemd. On systems which use Systemd (Ubuntu 16+, Fedora, Centos 7, Debian 8,) you create this customization file which SystemD reads prior to launching PMS. This file is independent of the default configuration and service control mechanisms in /lib/systemd/system/plexmediaserver.service. Your customization override is preserved across updates, uninstal…

---

<div class="post-metadata">

**Author:** ![kevindd992002](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@kevindd992002](https://forums.plex.tv/u/kevindd992002)\
**Post date:** [November 29, 2020, 1:31am UTC](https://forums.plex.tv/t/pms-custom-config-in-debian/658887/5 "2020-11-29T01:31:13Z")

</div>

I just realized that I gave the wrong link in my OP (edited now). The link you just posted is the same link that I’ve been referring to in my OP. The guide doesn’t tell me how to test though. I can try the different combinations of UMask/Umask/002/0002 but how do I test if it’s working? How can I have Plex force to create a file that will respect the UMask setting?

---

<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:** [February 27, 2021, 1:31am UTC](https://forums.plex.tv/t/pms-custom-config-in-debian/658887/6 "2021-02-27T01:31:13Z")

</div>

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