TMP directories

Navigation:  CageFS > Configuration >

TMP directories

Previous pageReturn to chapter overviewNext page

CageFS makes sure that each user has his own /tmp directory, and that directory is part of end-user's quota.


The actual location of the directory is $USER_HOME/.cagefs/tmp


Once a day, using cron job, CageFS will clean up user's /tmp directory from all the files that haven't been accessed during 30 days.


This can be changed by running:


$ cagefsctl --set-tmpwatch='/usr/sbin/tmpwatch -umclq 720'


Where 720 is the number of hours that the file had to be inaccessible to be removed.


By default this is done at 03:37 AM, but you can also force the clean up outdated files that match 'chosen period' of all user's /tmp directories without waiting for a job to be launched by cronjob. Just run:


$ cagefsctl --tmpwatch