• nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Temporary files can be created by user programs. On my machines, I made /tmp an in memory file system and also disallow execution or setuid/gid in this directory as much malware tries to abuse it in this manner.

  • takeheart@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    What’s the difference between run time program data and temporary files? Is /tmp just for system level processes but not for user space?

    • Lemongrab@lemmy.one
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      You can shove anything in /tmp, it is (by default) read/writeable by all users/groups. Plenty of user apps create files/folders in tmp