diff --git a/deploy.php b/deploy.php index e507a64..96dc7f2 100644 --- a/deploy.php +++ b/deploy.php @@ -160,7 +160,9 @@ task('typo3:cache:flush', function () { desc('Link the production fileadmin into the release'); task('typo3:fileadmin', function () { run('test -d {{fileadmin_path}}'); - run('ln -sfn {{fileadmin_path}} {{release_path}}/{{typo3/public_dir}}/fileadmin'); + // Relative (-r), like Deployer's shared dirs: the vhosts answer 403 for an absolute symlink here + run('ln -sfnr {{fileadmin_path}} {{release_path}}/{{typo3/public_dir}}/fileadmin'); + run('test -d {{release_path}}/{{typo3/public_dir}}/fileadmin/user_upload'); }); desc('Deploys TYPO3 13');