[CentOS] Automatic clean /tmp folder

Thu Apr 8 13:09:57 UTC 2021
Gestió Servidors <sysadmin.caos at uab.cat>

>>> With these files I supposed that a file with more than 10 days in /tmp

>>> would be automatically deleted, but today I have found some files/folders

>>> with more than 10 days.


>>> What I have done wrong?


>> The test is on access time, not modification. Have they been read in the last 10 days?


>And note that a GUI file manager might attempt to read every file in a

>directory in order to determine its type and display the correct icon.

I have check my /tmp folder with "find ./ -atime +10d" and there are some folders that appears as "accessed" more than 10 days ago... so I don't understand why automatic deletion system has not deleted them.