Author Topic: autoclear temp folder  (Read 6427 times)

Offline waster2009

  • Jr. Member
  • **
  • Posts: 12
autoclear temp folder
« 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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
autoclear temp folder
« Reply #1 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.
« Last Edit: May 20, 2009, 03:49:12 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline waster2009

  • Jr. Member
  • **
  • Posts: 12
autoclear temp folder
« Reply #2 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.