Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: waster2009 on May 18, 2009, 07:08:23 AM

Title: autoclear temp folder
Post by: waster2009 on May 18, 2009, 07:08:23 AM
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.
Title: autoclear temp folder
Post by: rosali on May 20, 2009, 12:58:50 AM
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.
Title: autoclear temp folder
Post by: waster2009 on May 20, 2009, 03:47:10 AM
Thanks for the advice. Then I'll put find with exec rm in cron to wipe out old files.