Issue Bug Closed

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

Michael Stucki 09/11/06, 11:57 updated 05/03/13, 14:20

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.