Project

General

Profile

Actions

Bug #16550

closed

TYPO3 checks for binaries using is_executable() which doesn't resolves symlinks

Added by Michael Stucki about 18 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
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

php_isexecutable_fix.diff (2.24 KB) php_isexecutable_fix.diff Administrator Admin, 2006-09-11 11:57
Actions

Also available in: Atom PDF