/etc/cron.daily/roundcube-core removes .htaccess file

Bug #681550 reported by Dave Pifke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
roundcube (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: roundcube-core

Ubuntu release Ubuntu 10.04.1 LTS
roundcube-core version 0.3.1-3

The roundcube-core package ships with an .htaccess file in /var/lib/roundcube/temp, however this file gets deleted the first time the daily cron job cleans out the temp directory. The cron job is executing:

  find /var/lib/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME -print0 | xargs -0 -r rm

...which probably should be changed to:

  find /var/lib/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME '!' -name .htaccess -print0 | xargs -0 -r rm

Expected behavior:

Files that ship with the package should still exist the next day.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.