Bug #17620: use mkdir("dirname",mode); happend thing
| From: | flyruns at hotmail dot com | Date: | Thu, 06 Jun 2002 06:18:04 +0000 |
| Subject: | Bug #17620: use mkdir("dirname",mode); happend thing | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9593@lists.php.net to get a copy of this message | ||
From: flyruns@hotmail.com
Operating system: unix
PHP version: 4.1.2
PHP Bug Type: Directory function related
Bug description: use mkdir("dirname",mode); happend thing
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?
--
Edit bug report at http://bugs.php.net/?id=17620&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17620&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17620&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17620&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17620&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17620&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17620&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17620&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17620&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17620&r=globals