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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Wed Oct 21 05:01:23 2020 UTC