[PHP-DEV] Shouldn't copy() preserve file permissions? From: Sergio Bruder (bruder <email protected>)
Date: 01/15/01

I have a /tmp/file mode 0600, and used php4's
copy('/tmp/file','tmp/file-copy'), and /tmp/file-copy got 0662 permission.

Shouldn't it be 0600 as well, or should I use another function to get this
behaviour?

Sergio Bruder

-- 
 (		http://distro.conectiva.com.br
 )) (tm)	http://sergio.bruder.net
|""|-. 		http://pontobr.org
|__|-' 		bruder <email protected>, sergio <email protected>
------------------------------------------------------------------------------
pub  1024D/0C7D9F49 2000-05-26 Sergio Devojno Bruder <bruder <email protected>>
     Key fingerprint = 983F DBDF FB53 FE55 87DF  71CA 6B01 5E44 0C7D 9F49
sub  1024g/138DF93D 2000-05-26

-- 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>