Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2728  / 2 Years ago, fri, march 18, 2022, 11:21:02

I want to allow any write access to directory but prevent ANYONE (aside from root?) from deleting the files once they are written. Is there a permissions system that would allow for this?



There is no time to modify permissions between write and delete time.


More From » permissions

 Answers
7

chattr +a seems to work as it only allows append to the directory (creating files)



Root won't be able to remove it directly but is able to chattr -a when it comes time to delete.


[#39923] Sunday, March 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fertion

Total Points: 436
Total Questions: 121
Total Answers: 156

Location: England
Member since Sun, May 21, 2023
1 Year ago
;