php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15483 function copy() break file permissions
Submitted: 2002-02-10 05:57 UTC Modified: 2002-02-10 18:32 UTC
From: sitnikov at infonet dot ee Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.1.1 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sitnikov at infonet dot ee
New email:
PHP Version: OS:

 

 [2002-02-10 05:57 UTC] sitnikov at infonet dot ee
Some functions like move_uploaded_file(), copy() creating file with 0777 permissions.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-10 11:52 UTC] sander@php.net
Never heard of umask?
 [2002-02-10 18:32 UTC] sitnikov at infonet dot ee
umask is 022, but file created with copy() have 0777.

fopen() creating file with 0644.



 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Sep 21 17:01:23 2020 UTC