How do you prevent any user from deleting a file in Linux?

Nguyễn Pháp

New member
How do you prevent any user from deleting a file in Linux?
Answer
There is no way to ‘lock’ files or to prevent them from modification from users that have permissions to do so. As long as the user has file system permissions ( write permissions, to be exact) to delete a file, then they will be able to delete it.
 

Tìm kiếm

Back
Top