• TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    30
    ·
    7 months ago

    There needs to be a Linux kernel fork that when you try to execute a directory executes all programs in the directory. In parallel. Juuuuuuuust to fuck with people who might accidentally execute the /usr/bin directory.

    • rotopenguin
      link
      fedilink
      English
      arrow-up
      24
      ·
      7 months ago

      And if there’s a circular symlink, we fork bomb

    • SzethFriendOfNimi@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      7 months ago

      Or worse… In order. Based on last Modified date. And use that as the basis for some scheduling agent where timing and order of execution is essential.

    • donio@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      7 months ago

      Those of us who use the autocd feature of shells “execute” directories all the time. For example I’d type just /usr/bin RET if I wanted to cd to /usr/bin.