Tuesday, December 5, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  3] [ 0]  / answers: 1 / hits: 685  / 2 Years ago, sat, april 16, 2022, 5:22:19

It seems logical that a user ought to be able to tell himself that he is not allowed to delete a file under his own ownership.

I'd like to take away my own permission to delete a file. Can I do this without chmodding it as root? Can I just say, "I am not allowed to delete this file, until I explicitly give myself permission to delete it"?


More From » permissions


Deleting a file is an operation on the containing directory. If you don't have write permissions on that directory, you cannot delete files within it. Note: you won't be able to delete any file within it.

[#1852] Sunday, April 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 345
Total Questions: 122
Total Answers: 121

Location: Spain
Member since Wed, Nov 23, 2022
1 Year ago