0

I tried this but it didn't work. I have plex running. I have a folder /home/lucas/Downloads which is owned by lucas and its group is lucas. I added plex to that group and here's the ls -la inside /home/lucas

drwxrwx---+  4 lucas lucas 16384 Dez  3 00:24 Downloads

and yet plex won't find anything inside it. What is happening? I tried rebooting and sudo service plexmediaserver restart multiple times also

Poperton
  • 1,283

1 Answers1

2

Might help you. After every fresh install I add the following

sudo nano /etc/default/plexmediaserver

Replace the "plex" user account with your own account.

PLEX_MEDIA_SERVER_USER=plex
Change to
PLEX_MEDIA_SERVER_USER=lucas

then add lucas user to group:

sudo addgroup plex lucas
sudo addgroup lucas plex

Then to stop and start the service

sudo service plexmediaserver stop
sudo service plexmediaserver start

I add the following in .bash_aliases for easy start/stop

alias start='sudo service plexmediaserver start'
alias stop='sudo service plexmediaserver stop'

If you are trying to Limit what Plex Server can see I would look at Firejail. I use it constantly and I know you can control network connections with it so you may be able to control Plex.

sudo apt install firejail

Home Page: https://firejail.wordpress.com/