Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 132452  / 2 Years ago, sat, april 9, 2022, 3:48:19

I just installed the Plex media server from the Ubuntu Software Center, and opened the web interface. I wanted to start by adding a collection. When it gave me a file browser, I wanted to go to /home/robin/Videos. /home is as far as I got. It showed robin, with an arrow in front of it, but when I tried to expand the directory tree it was empty. The same happened when trying to access /media/Data.
For me it's quite useless like this, as all of my media files are inside those 2 directories.



Help would be much appreciated.



My first guess seemed to be a correct one; It is, as always, a permissions problem.
How do I give plex access to my home folder without also giving other users access to it? My home folder is encrypted by the way, so that'll probably complicate things a little.



robin@RobinJ:~$ sudo -u plex bash
[sudo] password for robin:
bash: /home/robin/.bashrc: Permission denied
plex@RobinJ:~$ ls -al
ls: cannot open directory .: Permission denied
plex@RobinJ:~$ cd /home
plex@RobinJ:/home$ cd robin
bash: cd: robin: Permission denied
plex@RobinJ:/home$ ls -al robin
ls: cannot open directory robin: Permission denied

More From » permissions

 Answers
7

You've got two options I think. You can run plex media server as your user, or you can add yourself and plex to a group and give that group access to your home folder. I run Plex Media Server on OS X for the time being, so I haven't run into this problem myself, but the fix should be fairly trivial. This link explains how to add users to groups in linux, that's the way I think I'll be going when I switch my Plex server to Ubuntu.


[#37593] Saturday, April 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mouedi

Total Points: 420
Total Questions: 109
Total Answers: 116

Location: Philippines
Member since Wed, Aug 19, 2020
4 Years ago
;