• Siethron
    link
    fedilink
    arrow-up
    100
    arrow-down
    1
    ·
    1 year ago

    10 minutes? That’s it. That’s easily a 3 hour time sink.

    • Ephera@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      30
      arrow-down
      2
      ·
      1 year ago

      Well, in this case, it was a graphical program that was doing it, and I really could’ve recognized that the file was being created by that. I had just kind of forgotten that I opened this graphical program a few days ago on a different workspace…

  • Still@programming.dev
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    lsof is a good tool would recommend it whenever something weird is happen, tho you gotta be root for it

  • fraichu@lemmy.ml
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    1 year ago

    I’m curious you’d see it in ls -l Did inode change? I remember making the same mistake. I think everyone sees this sometime during the career

    • Ephera@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      1
      ·
      1 year ago

      The inode does change, yeah:

      The regular ls -l doesn’t show the inode on my system, though. I only realized it when I had assigned more permissions to the file and those got reset by deleting the file. The last-modified timestamp also gets updated each time, but I only spotted that afterwards…

      • Tangent5280
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        Give me your dotfiles or I will sneak into your home and tie all the sleeves of your shirts into knots

        • Ephera@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          1 year ago

          If you ask because of the powerline shell prompt, I’m using Starship with the Gruvbox Rainbow preset: https://starship.rs/presets/#gruvbox-rainbow

          You do need a NerdFont for this, as gets mentioned in the Starship installation guide. I’m specifically using the NerdFont variant of Fira Mono here, but you don’t have to use that for this setup.

          (I made some light customizations to the preset. If you specifically want those, you can have them, too, but I only set this up two days ago, so I don’t know yet how well it works.)

      • RustyNova
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        That’s a pretty terminal! Mind telling how you did it?

  • LazaroFilm
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    1 year ago

    Kinda similar. I remember having a file I could t delete. But I could move it to a new folder and delete that folder and the file would delete.

  • Potatos_are_not_friends
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    1 year ago

    It’s usually 10 mins to debug, and 3 hours explaining, categorizing, identifying the scope of it exists everywhere else…