Sorry if this is the wrong place, it’s a Linux question but it’s come about whilst trying to build my arr-Plex stack.

So, Linux (Debian) user accounts; What is best practice for running applications as their own UID? Why should I do that? and how can I avoid file permission errors.

I see advice such as “create a new system account called radar/sonarr/Plex”. So I do that, and then find all my downloads are owned by qbittorrent user and it doesn’t have permission to move them into my Plex library and Plex can’t view them either.

All seems overcomplicated. Why can’t I just run everything all with username ‘Plex’?

  • catloaf
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    8 months ago

    That would still let one app wipe everything.

    • Chewy@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      You’re right, media could still be wiped. Other data owned by users would be protected (e.g. configs).