# Systemd - Customizing Application Support folder (Metadata) - override.conf

**URL:** <https://forums.plex.tv/t/systemd-customizing-application-support-folder-metadata-override-conf/794594>\
**Category:** Metadata & Adding Files\
**Tags:** server-linux\
**Created:** [May 28, 2022, 3:08am UTC](https://forums.plex.tv/t/systemd-customizing-application-support-folder-metadata-override-conf/794594 "2022-05-28T03:08:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [May 28, 2022, 4:10am UTC](https://forums.plex.tv/t/systemd-customizing-application-support-folder-metadata-override-conf/794594/4 "2022-05-28T04:10:43Z")

</div>

@doreski

Ubuntu/Debian, with a graphical desktop, will always override the permissions & ownership of `/media`. The offending program is the automounter built into Nautilus. (It communicates with gnome-session, which runs as root, and has anything in there mounted / chowned with exclusive access by your username only which blocks ‘plex:plex’ from accessing it.

To avoid this problem, any other location can be used.

Might I suggest ?

1. mkdir /home/plex
2. chown plex:plex /home/plex
3. mount your SSD to this location
4. Change the override.conf to point to  
`Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/plex/Library/Application Support"`

Now you can move `Library` from `/var/lib/plexmediaserver` to `/home/plex`.

For reference (in case you need)

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/3):
>
> 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…

---

_[View the full topic](https://forums.plex.tv/t/systemd-customizing-application-support-folder-metadata-override-conf/794594)._
