@jamesmehorter said:
Instead of messing around with permissions/ownership I chose to run Plex as my user (who has access to my hard drive/media). Simply edit the PLEX_MEDIA_SERVER_USER value in your Plex Server config located at /etc/default/plexmediaserver, e.g.
PLEX_MEDIA_SERVER_USER=jamesThen restart the plex server:
sudo service plexmediaserver restartAfterwards you can select media on your hard drive.
This isn’t working on Ubuntu 16.04 LTS/Mint 18 since Plex Server config location isn’t at /etc/default/plexmediaserver anymore. support.plex.tv says:
CentOS7/SuSE/Ubuntu 15.04 Config:
To change the startup configuration and context of the systemd service edit the systemd service file: /lib/systemd/system/plexmediaserver.service.
On Ubuntu this file is located in: /etc/systemd/system/plexmediaserver.service
However $ cat /etc/systemd/system/plexmediaserver.service
returned cat: /etc/systemd/system/plexmediaserver.service: No such file or directory
Though someone on askubuntu.com advised to work with the same file location for Ubuntu 16.04:
“Quote”
To avoid permission problems run the server as your standard user, replace “plex” with your user and group in:
sudo nano /etc/systemd/system/plexmediaserver.service
Now also change the ownership of the next subdir to your user!
sudo chown -R user:user /var/lib/plexmediaserver
sudo systemctl --system daemon-reload
sudo service plexmediaserver start
How come I can’t find the config file?
Only difference is I’m using Linux Mint 18 Cinnamon 3.0.7 and installed PMS from downloaded deb package (1.0.1.2396). Should I continue here or open my own thread? Thanks everybody in advance!