Roundcube Community Forum

 

autoclear temp folder

Started by waster2009, May 18, 2009, 07:08:23 AM

Previous topic - Next topic

waster2009

Hello,

Have one quick question about temp folder.

Is it safe to clear temp folder? As I understand it contains email attachments.
I don't see any settings in roundcube config corresponding to autoclearing of this folder, so may be cron task will match?

Thanks.

rosali

#1
If you look on the timestamp of the files and clear only older files it is safe. Files remain there if a user opens the compose page adds and attachment and then is closing the browser window without performing a logout.

If you clear all files there is a potential risk to wipe out files of an active session.
Regards,
Rosali

waster2009

Thanks for the advice. Then I'll put find with exec rm in cron to wipe out old files.