ID:               17229
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         *Directory/Filesystem functions
 Operating System: OSX , Maybe More
 PHP Version:      4.2.1
 New Comment:

What permissions are set by PHP on the directory and what do you
expect?


Previous Comments:
------------------------------------------------------------------------

[2002-05-14 20:01:37] [EMAIL PROTECTED]

<?
$basedir = "./mkdirtests/";
$newdir = "foo";
$fullpath = $basedir . $newdir;
$lscmd = "/bin/ls -al $basedir";
?>

<p>Making directory "./foo" with a umask of 0000<br>
<?
$oldumask = umask(0000);
mkdir ($fullpath, 0700);
umask($oldumask);
?>

<p>Listing <?="$lscmd"?>:<br>
<pre>
<? passthru( "$lscmd"); ?>
</pre>

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17229&edit=1

Reply via email to