I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      I’ve always just used gio trash (formerly gvfs-trash). KDE-based systems have something similar (but with syntax that’s perfectly logical but completely unsuitable, in my opinion).

      The third party trash package works in places the GUI and the aforementioned GUI-related command line tools may not. I can’t tell whether this is a bug in trash or in the system tools, TBH.

      For example, /tmp is one such directory where trash works but gio trash refuses.

      Either way, the GUI Rubbish Bin won’t keep track if things are deleted from such places by trash.

      • konomi@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days ago

        The third party trash package works in places the GUI and the aforementioned GUI-related command line tools may not. I can’t tell whether this is a bug in trash or in the system tools, TBH.

        Might be a bug I’ve never experience this issue with the trash-cli tools.