Skip to content

Instantly share code, notes, and snippets.

@estysdesu
Created January 3, 2020 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save estysdesu/cce14eea28038e6c5520dfa20e8c8296 to your computer and use it in GitHub Desktop.
Save estysdesu/cce14eea28038e6c5520dfa20e8c8296 to your computer and use it in GitHub Desktop.
[Plex: External Mounted Media] #uid #gid #shell

Plex: External Mounted Media

  1. Add user to the plex group. usermod -aG plex <user>
  2. Get the plex group ID. id -g plex
  3. Mount the external media drive from root user. This allows all users of the plex group to rwx on the mounted drive. mount -o umask=0002,gid=<plexGID> /dev/sdX# /mnt/plexMedia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment