[TYPO3-core] RFC: Treat symlinks as executable

Michael Stucki michael at typo3.org
Tue Nov 7 11:45:00 CET 2006


This is a SVN patch request.

Problem:
There are various places where programs are checked for being executable.
However, this does not work if the program is just a symlink.

This is usually needed in larger hosting environments when
safe_mode_exec_dir is used and allowed programs are placed in a special
directory. Currently they would all need to be copied, hence they won't be
upgraded automatically by the systems package manager.

Solution:
If is_executable() is false, check using is_link() and accept this as well.

Branches: TYPO3_4-0 and Trunk

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php_isexecutable_fix.diff
Type: text/x-diff
Size: 2291 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061107/a596119c/attachment.bin 


More information about the TYPO3-team-core mailing list