Sorry if this question was asked already, I just could not find the answer. If I do:
touch file.txt
chomd 444 file.txt
in principle, everyone (except ROOT) can only read the file. However if I do:
rm file.txt
I still can remove the file, despite I am shown:
rm: remove write-protected regular empty file 'file.txt'? y
even if it is protected. Is there a way to really protect this file? I see that one can chattr +i file.txt but that only works if you can sudo; I am not an administrator (as 99% of the users out there).
Cheers.