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

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


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?


http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA

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.




More information about the CentOS mailing list