Hi there, I’m on Bazzite KDE and recently somehow lost a my “gaming” folder…? No idea how but must gave been user faulty, e.g me. Therefore wondering if it’s possible to lock certain folders so that this cannot accidentally happen?

  • vipaal
    link
    fedilink
    arrow-up
    7
    ·
    7 months ago

    I think looking into man chattr is a good option for this

      • vipaal
        link
        fedilink
        arrow-up
        6
        ·
        7 months ago

        Every modification and deletion is prevented regardless of the method, be it mv, rm or other commands on the terminal or through a GUI, with or without sudo until sudo chattr -R -i /path/to/directory is performed