Bug #14621
closedsynlinks, PHP Suexec and several Linux flavors
0%
Description
Hello,
I have come across what would seem to be an easy fix to make Typo3 more cross-platform compatible.
The latest install (or maybe all of them for all I know) Utilize symlinks for several things, namely:
lrwxrwxrwx index.php -> tslib/index_ts.php*
lrwxrwxrwx media -> tslib/media/
lrwxrwxrwx showpic.php -> tslib/showpic.php*
lrwxrwxrwx t3lib -> typo3_src/t3lib/
lrwxrwxrwx tslib -> typo3_src/tslib/
lrwxrwxrwx typo3 -> typo3_src/typo3/
lrwxrwxrwx typo3_src -> typo3_src-3.7.0//
These are all chmodd 777 by default and on the Linux systems I regularly use chmod does not allow for chmod of symlinks, so they must remain 777. This creates a problem for servers that run PHP Suexec which does not allow for 777 permissions.
My suggestion is either a coded redirect or other symlink removal solution so that Typo will run on a PHP Suexec platform.
Thank you.
Affects:
Red Hat Enterprise Linux
CentOS Linux
Fedora Linux
And surely other flavors.
Server must be running PHP as a cgi useing PHP Suexec as an improved security model to running PHP as a module.
(issue imported from #M903)