Bug #15483 Updated: function copy() break file permissions
| From: | sitnikov at infonet dot ee | Date: | Sun, 10 Feb 2002 23:32:00 +0000 |
| Subject: | Bug #15483 Updated: function copy() break file permissions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87@lists.php.net to get a copy of this message | ||
ID: 15483
Updated by: sitnikov@infonet.ee
Reported By: sitnikov@infonet.ee
Status: Bogus
Bug Type: Filesystem function related
PHP Version: 4.1.1
New Comment:
umask is 022, but file created with copy() have 0777.
fopen() creating file with 0644.
Previous Comments:
------------------------------------------------------------------------
[2002-02-10 11:52:07] sander@php.net
Never heard of umask?
------------------------------------------------------------------------
[2002-02-10 05:57:33] sitnikov@infonet.ee
Some functions like move_uploaded_file(), copy() creating file with
0777 permissions.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15483&edit=1