From 947ebedad4601c533a68d48961b2035e907a4668 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Sun, 8 Jul 2001 03:54:12 +0000 Subject: [PATCH] note that umask is applied to mkdir perms git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50847 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filesystem.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/filesystem.xml b/functions/filesystem.xml index fe941c84d3..959b0023f7 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -2064,6 +2064,8 @@ if($fp){ Note that you probably want to specify the mode as an octal number, which means it should have a leading zero. + The mode is also modified by the current umask, which you + can change using umask. mkdir ("/path/to/my/dir", 0700);