write protect a file or folder

Hello forum,

is there a way to write-protect an important file of folder from beeing erased?

Thank’s a lot!

Joe

Use your OS and file system permissions.