#23069 [Ctl]: [critical] tempnam creates readonly file

From: Date: Tue, 08 Apr 2003 07:28:45 +0000
Subject: #23069 [Ctl]: [critical] tempnam creates readonly file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37335@lists.php.net to get a copy of this message
 ID:               23069
 Updated by:       pajoye@php.net
 Reported By:      paj at pearfr dot org
 Status:           Critical
 Bug Type:         CGI related
 Operating System: Windows 2000
 PHP Version:      4CVS-2003-04-06 (stable)
 New Comment:

It is critical in general too, not only for PEAR, afaik, this is the
only way to get a safe temp name and seems to be widely used.

I cannot reproduce it with the stable snapshot from 03/4/4 on w2K CLI.

hth

pierre


Previous Comments:
------------------------------------------------------------------------

[2003-04-07 16:14:50] edink@php.net

Just forgot to mention that I have reproduced this using latest win32
cli.

------------------------------------------------------------------------

[2003-04-07 16:13:00] edink@php.net

Marking this critical as it prevents much anticipated pear on windows
release.

------------------------------------------------------------------------

[2003-04-06 07:53:05] paj at pearfr dot org

tempnam() creates a readonly file under Windows 2K using Apache 1.3.27,
php as CGI. The file permissions are correct but it sets the RO flag,
which is not really usefull ;)

pierre

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23069&edit=1



Thread (9 messages)

« previous php.bugs (#37335) next »