Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7613  / 3 Years ago, tue, july 6, 2021, 3:55:16

Without using sudo, preferably?


More From » permissions

 Answers
3

Try:



chattr +i filename


Doing this though, will make the file undelete-able even by the root user - use with caution.


[#32490] Wednesday, July 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
altybol

Total Points: 364
Total Questions: 138
Total Answers: 121

Location: France
Member since Thu, May 6, 2021
3 Years ago
;