Sunday, 24 September 2017

Is it possible to forbid removal of files but allow creation of them for specific directory in Linux?


I have an application that creates temp files and quickly deletes them. But I'd like to keep those files, is there a way to do that in Linux?



Answer



Yes, you can with per process capabilities in Security-Enhanced Linux which has been part of Ubuntu for the last two years. Be prepared for a steep learning curve.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...