From: sanry at now dot net dot cn
Operating system: redhat 9
PHP version: 4.3.5RC3
PHP Bug Type: Unknown/Other Function
Bug description: php crash when use system("/bin/chmod file") have no permission
Description:
------------
php crash when use system("/bin/chmod file") have no permission
Expected result:
----------------
n/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/_zs.frq��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/_zs.prx��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/_zs.tii��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/_zs.tis��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/deletable��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/segments��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/jive_config_init.xml��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/jive_config.xml��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/jive_filters.xml��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ��� ��/home/vision.com.cn/web/www//WEB-INF_remove/lib��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/lib/jakarta-oro-2.0.6.jar��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/lib/activation.jar�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/lib/cos.jar�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/lib/lucene_cn.jar�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/lib/jdom.jar�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/lib/mail.jar�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/lib/nntp.jar�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/lib/mm.mysql-2.0.14-bin.jar��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ���
��/home/vision.com.cn/web/www//WEB-INF_remove/web.xml�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ��� ��/home/vision.com.cn/web/www//threadMode1p.jsp��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ��� ��/home/vision.com.cn/web/www//threadMode2.jsp��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ��� ��/home/vision.com.cn/web/www//threadp.jsp�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ��� ��/home/vision.com.cn/web/www//upload.jsp�� ��Ȩ��:
�������IJ���
/bin/chmod: ���ڸ��� ��/home/vision.com.cn/web/www//uploadfile.jsp��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ��� ��/home/vision.com.cn/web/www//usermessages.jsp��
��Ȩ��: �������IJ���
/bin/chmod: ���ڸ��� ��/home/vision.com.cn/web/www//watches.jsp�� ��Ȩ��:
�������IJ���
script not found or unable to stat
[Tue Feb 17 12:44:37 2004] [warn] pid file
/usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?
[Tue Feb 17 12:44:37 2004] [notice] Apache/2.0.48 (Unix) mod_jk/1.2.5
PHP/4.3.5RC3 configured -- resuming normal operati
--
Edit bug report at http://bugs.php.net/?id=27285&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27285&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27285&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27285&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27285&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27285&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27285&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27285&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27285&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27285&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27285&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27285&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27285&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27285&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27285&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27285&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27285&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27285&r=float