Write-Protect Important Files in Linux
Linux file permissions can reduce accidental changes, but for some files you may also want an extra layer of protection. On filesystems that support it, the immutable attribute can help. View file attributes Make a file immutable An immutable file cannot be modified, renamed or deleted until the attribute is removed. Remove the protection Use … Read more