Read the FAQs for linux, still completely lost

Server Version#: 4.63.0
Player Version#:

I’m having trouble adding directories from my harddrives that were formatted NTFS the drives are mounted properly in the file structure in the system but when it loads the media server, and i click on the browse option, only the root volume name appears, and it won’t select any of the subdirectories. The two drives in windows are named ‘New Volume’ with subdirectories of ‘Movies’ and ‘TV Shows’ and the second drive is named ‘System & Media’ with a subdirectory of ‘Movies’

What shows up on the two drives with media in plex are
/New\040Volume
/System\040&\040Media with no access to the subdirectories

You read here?

Often overlooked – Did you set the permissions of the mount point directory prior to mounting?

Yes, i read everything and i’m prettty sure the permissions are set, or i don’t think I’d be able to acess the drive at all because the only place it doesn’t show up in in the media server.

of Course i could be wrong, i don’t understand a single thing that article refers to.

On Linux, just because your username can access something – does not guarantee – another username (plex) can. In fact, default linux security prevents the behavior.

Would you mind showing me what you’ve done to get to where you’re at so I may review?

  1. with the drive unmounted, ls -laR /path/to/mount/point
  2. /etc/fstab entry for the mount.

Does it matter that the articles reference NAS drives, when technically that’s not what I’m using both are local drives in the same machine

I went back and re-read everything and I don’t think i did anything correctly, because nothing mentioned is actually there…

The first time around, I didn’t understand a single thing, so I just loaded plex server and the root directories were there, then i went back and tried to follow the instructions but now I don’t think I did any of it correctly… Back to square 1…

It doesn’t matter if the drives are local or on the network ; the steps are the same.

  1. mkdir /mount/path

  2. make sure 755 permission is set for each directory in the mount path BEFORE you mount the drive/NAS folder.

  3. We then go through and make sure the directories and files are readable by plex:plex because it’s a different UID & GID (needs the ‘other’ class permissions)

  • example
# mkdir /mymedia/disk1
# chmod 755 /mymedia /mymedia/disk1
# mount /dev/sdd1 /mymedia/disk1
# find /mymedia -type d -exec chmod 755 {} \;
# find /mymedia -type f -exec chmod 644 {} \;

When that finishes, I still have owner (7) for all directories and RW (6) for all files just as I should.

Now we can point Plex at /mymedia/disk1/Movies for a movies type library and it will be able to read everything.

Thank you for your considerable patience. It took me several dozen tries, but it FINALLY started to sink in and I got it to work.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.