bug in mkdir?
| From: | Mike Wright | Date: | Thu, 10 Jun 2010 18:32:52 +0000 |
| Subject: | bug in mkdir? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-306013@lists.php.net to get a copy of this message | ||
Hi all,
Using 5.2.9
I'm trying to create a directory but it is being created with incorrect permissions. I'm following the online manual.
This is the command being used:
mkdir('/srv/www/domain/data/R1276190214358/thumbs', 0770, true);
This is what is created:
drwxr-x--- 2 apache apache 4096 2010-06-10 10:33 R1276190214358Isn't that supposed to be 0770 instead of 0750? Either the manual is wrong, the command is broken, or I'm screwing it up (most likely). Thanks for any help, Mike Wright