Actions
Bug #16550
closedTYPO3 checks for binaries using is_executable() which doesn't resolves symlinks
Start date:
2006-09-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions