Date: 09/12/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove specified directory"
- Previous message: tmnja <email protected>: "[PHP-DEV] PHP 4.0 Bug #6682: remote require is not perfect"
- In reply to: André Langhorst: "[Fwd: [PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove specified directory]"
- Next in thread: André Langhorst: "Re: [Fwd: [PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove specified directory]"
- Reply: André Langhorst: "Re: [Fwd: [PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove specified directory]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I commited a fix to the CVS. The code was using rmdir and not V_RMDIR.
Andi
At 02:02 AM 9/12/00 +0200, André Langhorst wrote:
>FYI: (tested on 2000-09-07 build)
>If there have been some changes to one of these functions, I`ll try a
>newer build.
>
>André
>
>
>Return-Path: <php-dev-return-32976-A.Langhorst=itbnet.de <email protected>>
>Received: from toye.php.net (sourceforge.net [198.186.203.33])
> by itbnet.de (8.9.3/8.8.8) with SMTP id CAA19556
> for <A.Langhorst <email protected>>; Tue, 12 Sep 2000 02:03:03 +0200
>Received: (qmail 25868 invoked by uid 1013); 12 Sep 2000 00:03:01 -0000
>Mailing-List: contact php-dev-help <email protected>; run by ezmlm
>Precedence: bulk
>Delivered-To: mailing list php-dev <email protected>
>Received: (qmail 25862 invoked from network); 12 Sep 2000 00:03:00 -0000
>Date: 12 Sep 2000 12:08:20 -0000
>Message-ID: <20000912120820.10073.qmail <email protected>>
>To: php-dev <email protected>
>From: Bug Database <php-dev <email protected>>
>Subject: [PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove
>specified directory
>
>ID: 5997
>Updated by: waldschrott
>Reported By: dpfender <email protected>
>Status: Analyzed
>Bug Type: *General Issues
>Assigned To:
>Comments:
>
>hmmm, well I don´t know what´s actually going on but I´m having various
>problems, 2 general ones, one related to apachemod (maybe others (ISAPI))...
>
>a) unlink() does not work:
>Warning: Unlink failed (Permission denied) in *
>b) rmdir() does not work
>Warning: RmDir failed (No such file or directory) in *
>
>ApacheModule:
>c) exec(rm*) gives an: unable to fork error
>
>
>Previous Comments:
>---------------------------------------------------------------------------
>
>[2000-09-12 07:36:28] waldschrott <email protected>
>user-feedback:
>
>The following code demonstrates the problem on my system
><?php $dir_name = "testdir"; $mk_ret_code = 0; $rm_ret_code = 0;
>$mk_ret_code = mkdir($dir_name, 0775); echo ("mkdir('${dir_name}', 0775),
>ret_code = '${mk_ret_code}'
>
>n"); $mk_ret_code = rmdir($dir_name); echo ("rmdir('${dir_name}'),
>ret_code = '${rm_ret_code}'
>
>n"); // attempt to clean up directory with exec() exec("rmdir
>${dir_name}"); ?>
> Response:
>mkdir('testdir', 0775), ret_code = '1'
>
>
>Warning: RmDir failed (No such file or directory) in
>E:Inetpubwwwrootdir_chkdir_test.php on line 12
>rmdir('testdir'), ret_code = '0'
>
>
>---------------------------------------------------------------------------
>
>[2000-09-03 07:34:35] waldschrott <email protected>
>Closed due to missing user feedback.
>
>---------------------------------------------------------------------------
>
>[2000-08-09 21:47:46] stas <email protected>
>failed to reproduce. Could you provide your full script?
>
>---------------------------------------------------------------------------
>
>[2000-08-06 20:14:53] dpfender <email protected>
>At the document root of a web page, create a directory ab using mkdir("ab").
>Then create directory ab/cd using mkdir("ab/cd").
>Using rmdir("ab/cd") fails to remove directory ab/cd which contains no files.
>The binary distribution files were used without modification.
>In php.ini, the following changes were made to php.ini-dist:
>short_open_tag = Off
>extension=php_calendar.dll
>extension=php_ldap.dll
>extension=php_exif.dll
>extension=php_ftp.dll
>extension=php_imap.dll
>extension=php_mssql70.dll
>
>
>---------------------------------------------------------------------------
>
>
>Full Bug description available at: http://bugs.php.net/?id=5997
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove specified directory"
- Previous message: tmnja <email protected>: "[PHP-DEV] PHP 4.0 Bug #6682: remote require is not perfect"
- In reply to: André Langhorst: "[Fwd: [PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove specified directory]"
- Next in thread: André Langhorst: "Re: [Fwd: [PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove specified directory]"
- Reply: André Langhorst: "Re: [Fwd: [PHP-DEV] PHP 4.0 Bug #5997 Updated: rmdir fails to remove specified directory]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

