phpize changes don't check for execute status on shtool
| Bug #26168 | phpize changes don't check for execute status on shtool | ||||
|---|---|---|---|---|---|
| Submitted: | 2003-11-07 17:09 UTC | Modified: | 2003-11-09 23:32 UTC | ||
| From: | robbat2 at gentoo dot org | Assigned: | |||
| Status: | Closed | Package: | *Compile Issues | ||
| PHP Version: | 4.3.4 | OS: | Gentoo Linux | ||
| Private report: | No | CVE-ID: | None | ||
[2003-11-07 17:09 UTC] robbat2 at gentoo dot org
Description: ------------ phpize as of 4.3.4 does NOT check that $builddir/build/shtool is executable before it tries to run it. Reproduce code: --------------- 1. unpack any source based php extension (I used turck-mmcache-2.4.6) 2. ensure that your /usr/lib/php/build/shtool does NOT have execute set. 3. in the new dir, run phpize. Expected result: ---------------- should complete correctly. phpize should set shtool to be executable before it tries to run it, or at the very least it should check if it is executable. Actual result: -------------- you get this error: /usr/bin/phpize: line 1: /var/tmp/portage/turck-mmcache-2.4.6/work/turck-mmcache-2.4.6/build/shtool: Permission denied /usr/bin/phpize: line 61: -f: command not found
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-11-07 17:13 UTC] robbat2 at gentoo dot org
[2003-11-07 21:21 UTC] robbat2 at gentoo dot org
[2003-11-09 23:32 UTC] iliaa@php.net