php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17620 use mkdir("dirname",mode); happend thing
Submitted: 2002-06-06 02:18 UTC Modified: 2002-06-06 04:26 UTC
From: flyruns at hotmail dot com Assigned:
Status: Not a bug Package: Directory function related
PHP Version: 4.1.2 OS: unix
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: flyruns at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-06-06 02:18 UTC] flyruns at hotmail dot com
Summary:
         Apache/1.3.23 (Unix) PHP/4.1.2 

Program:
do.php              owner:fileowner
        <?php
          if(dir($dirname)){
                //.........
          }else{
               mkdir("$dirname",0755);
          }
         ?>
reporting....
          When program over.that directory already maked but it's mode is 0411 not 0755.and owner isn't fileowner.
it's owner is otherowner!

          please tell me this question is about system user administator or php administrator?
  
          and when i make file in directory.use chown($filename,'fileowner').but when page run over . file owner can't change ! why?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-06 04:26 UTC] sander@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC