[CentOS] how to prevent files and directories from being deleted?

Wed Oct 4 14:38:17 UTC 2017
Gordon Messmer <gordon.messmer at gmail.com>

On 10/04/2017 04:54 AM, Mark Haney wrote:
> Why is it so hard for people to understand that var/run IS NOT 
> PERSISTENT and was never meant to be?  Do they not teach basic Unix 
> concepts anymore?


While FHS notes that *files* should be cleared during the boot process, 
it does not indicate that directories should be, and that is the source 
of this problem.  Packages on recent Fedora, RHEL, or CentOS releases 
should use tmpfiles.d to define directory structure within /var/run, but 
that is a unique and recent development.

Please chill out.  There is no need to berate users, here.