Ever had a question about Linux but felt too afraid to ask? Well now’s your chance, ask any question about Linux, no matter how noob or repeated it is, and I and others will help answer them.

Previous noob question thread: https://lemmy.ml/post/14261893

  • cizra@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    What’s an rpc port anyway? Do you mean DBus? Then FS perms of the socket. Perhaps also something in the protocol itself.

    • bloodfart@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      I meant to write socket instead of port because I was tired.

      If for example a program can take rpc over a socket which is a file somewhere is it just the filesystem permissions that determine what can be done or is there more at play?

      • cizra@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        FS permissions are the main thing, yes. One can build more systems around it (don’t mount the socket into a Flatpak container, if you don’t want the Flatpak to talk to DBus) or (implement some sort of auth protocol like TLS does).