Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2735  / 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
fertion questions
Thu, Mar 9, 23, 06:46, 1 Year ago
Thu, Jun 17, 21, 01:06, 3 Years ago
Mon, Jun 13, 22, 07:30, 2 Years ago
Fri, Mar 10, 23, 12:13, 1 Year ago
;