On Thu, May 3, 2012 at 2:34 AM, Michael Schwendt <mschwendt@xxxxxxxxx> wrote: > On Wed, 02 May 2012 19:47:03 -0700, DSM (Dean) wrote: >> I'm running F15. Files are mysteriously being removed from /tmp after a >> number of days of not being touched. I am familiar with >> /etc/cron.daily/tmpwatch and, in fact, modify it to inhibit removal of >> files from /tmp. In the past this has worked. Under F15 it has not. >> >> Two or three weeks ago I deleted it from /etc/cron.daily but older files >> _still_ get removed from /tmp. I've rebooted at least once. I'm not >> sure if it happens at bootup or while the system is running, but >> something is still removing files from /tmp. >> >> Does anyone know of another mechanism for this? > > At least with recent systemd versions, there is the systemd-tmpfiles-clean > service. Dunno whether it's available in F15. And it defaults to 10 days > not 14, I think: "man tmpfiles.d" Yes, F15 has this too. As that man page indicates, you can exclude directories or files from being cleaned with the 'x' type. So, create a file /etc/tmpfiles.d/dont-clean-tmp-damnit.conf or such and put 'x /tmp' in it and systemd will stop cleaning your /tmp. -T.C. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org