• Jamie@jamie.moe
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    10 months ago

    Someone could potentially decide to post something like that in a memes community to cause trouble, which would be worrying for a self-hoster like me. My instance isn’t subscribed to anything remotely sketchy, so it sounds like I’m unaffected here, but it could happen.

    Ignore the previous, that’s literally what they did. I went in and manually purged it from the command line by removing every image from the last 24 hours. For other lemmy admins wanting to do the same (assuming a standard docker setup): sudo find /srv/lemmy/example.com/volumes/pictrs/files -type f -ctime -1 -exec shred {} \;

    • Björn Tantau@swg-empire.de
      link
      fedilink
      arrow-up
      6
      ·
      10 months ago

      Thanks, haven’t been on my instance for a few weeks and I come back to this shit show. Bye bye memes of the last two (just to be sure) days. I wonder how I can even prevent that shit from happening again.

    • AntBas@eslemmy.es
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

      You need to use shred instead of rm. If you use rm the data still lives on your drive until it gets overwritten

      • Jamie@jamie.moe
        link
        fedilink
        arrow-up
        3
        ·
        10 months ago

        I made dedicated posts about it and corrected the mistake there, I missed this comment. Thanks for pointing it out.