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?

  • axzxc1236@lemm.ee
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    4 months ago

    sudo chattr +i (folder) prevents anything to modify/delete folders and files

    Add -R for setting the flag for all subdirectory/files

    • Sunny' 🌻@slrpnk.netOP
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      Thanks I might try this! However does this allow for reads/writes from the system? Considering this is a folder for games, the files are constantly changing, such as the game save files etc…