Skip Navigation

[Solved] Possible to lock a folder? To prevent it from being deleted.

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?

21

You're viewing a single thread.

21 comments
  • Not really afaik, you can make file immutable with chattr +i /path/to/something but that means you cannot write to it either, which will probably cause problems.

21 comments