Bug #16550
closedTYPO3 checks for binaries using is_executable() which doesn't resolves symlinks
0%
Description
t3lib_exec and various other classes in TYPO3 use the is_executable() function to check whether a program is executable or not.
However, in a shared hosting environment, it may be useful to use open_basedir/safe_mode_exec_dir and use a separate directory for these programs which are explicitely allowed. However, currently they can only be found if they are copied 1:1 from their original location (e.g. /usr/bin).
Solution is to accept is_link() as well. Of course this doesn't check whether a link target is really executable, but chances are pretty small that someone has made such a mistake.
(issue imported from #M4195)
Files
Updated by Alexander Opitz over 11 years ago
- Status changed from Accepted to Closed
- Target version deleted (
0) - PHP Version deleted (
4)
There is no such code any longer in TYPO3 CMS, TYPO3\CMS\Core\Utility\CommandUtility has different ways for WIN and OTHERS => closed.