Bug #16550
TYPO3 checks for binaries using is_executable() which doesn't resolves symlinks
| Status: | Closed | Start date: | 2006-09-11 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Michael Stucki | % Done: | 0% |
|
| Category: | Install Tool | |||
| Target version: | - | |||
| TYPO3 Version: | 4.0 | Complexity: | ||
| PHP Version: | ||||
| Votes: | 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)
History
Updated by Alexander Opitz about 1 month 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.