contao/core — Issue #3957: Unlink and SMH
Author: jantheofel
Created: 2012-02-17 15:22:41+00:00
State: open

In https://github.com/contao/core/blob/2.11.x/system/modules/backend/Automator.php#L186 and https://github.com/contao/core/blob/2.11.x/system/modules/backend/Automator.php#L162 the function unlink is called. If you run Contao with SMF it usually does not have the permission to delete these files (otherwise you would not need the SMH). There might be more calls of unlink which have the same problem.

The call of the unlink function should be replaced by a delete using FTP if Contao runs with SMH.