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’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/_zs.prx’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/_zs.tii’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/_zs.tis’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/deletable’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/search/segments’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/jive_config_init.xml’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/jive_config.xml’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/jiveHome/jive_filters.xml’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib/jakarta-oro-2.0.6.jar’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib/activation.jar’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib/cos.jar’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib/lucene_cn.jar’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib/jdom.jar’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib/mail.jar’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib/nntp.jar’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/lib/mm.mysql-2.0.14-bin.jar’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//WEB-INF_remove/web.xml’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//threadMode1p.jsp’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//threadMode2.jsp’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//threadp.jsp’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//upload.jsp’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//uploadfile.jsp’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//usermessages.jsp’ 的权限: 不允许的操作 /bin/chmod: 正在更改 ‘/home/vision.com.cn/web/www//watches.jsp’ 的权限: 不允许的操作 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