Splicing1524

Update Plex permissions script

Oct 23rd, 2025
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.46 KB | Software | 0 0
  1. docker stop plexmediaserver
  2.  
  3. # Example for linuxserver/plex using PUID/PGID=99:100:
  4. chown -R 99:100 "/mnt/user/appdata/plexmediaserver"
  5.  
  6. # Example for official plex using PLEX_UID/GID=911:911:
  7. # chown -R 911:911 "/mnt/user/appdata/plexmediaserver"
  8.  
  9. # Ensure perms are generous enough
  10. find "/mnt/user/appdata/plexmediaserver" -type d -exec chmod 775 {} \;
  11. find "/mnt/user/appdata/plexmediaserver" -type f -exec chmod 664 {} \;
  12.  
  13. docker start plexmediaserver
  14.  
Advertisement
Add Comment
Please, Sign In to add comment