I’m running PMS on Ubuntu 16.04. Whenever I restart Plex, for some reason some preferences reset as well. These include the Library prefs (it unchecks automatic scans and rechecks empty trash automatically) and scheduled task times. However, some preferences stay set (custom port number for example).
The Preferences.xml file is owned by plex:plex and permissions are 600 (rw-------)