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

  • run this groups plex to see if the addition to group worked – George Udosen Dec 3 '16 at 4:07
  • @George it worked – Guerlando OCs Dec 3 '16 at 13:22
  • add read to o user in folder Downloads and try to read content again – George Udosen Dec 3 '16 at 13:25
  • please if my last suggestion doesn't work try the given answer below as it adds lucas to group plex and not the other way round. That in my experience is how it should be done – George Udosen Dec 3 '16 at 13:35

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.

Change to

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/

  • But the idea was to permit plex to only access my Downloads folder for extra security :( – Guerlando OCs Dec 3 '16 at 13:33
  • even at that @GuerlandoOCs its not proper to add an app to your group remember you are owner of the system and adding an app can give it other rights access based on your group rights. – George Udosen Dec 3 '16 at 13:38
  • Q:But the idea was to permit plex to only access my Downloads folder for extra security :( – Guerlando OCs – DeadRaven Dec 5 '16 at 11:56

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.