PHP 4.0 Bug #8736: Return value of umask() not an octal number
| From: | ahasenack at ig dot com dot br | Date: | Tue, 16 Jan 2001 13:03:39 +0000 |
| Subject: | PHP 4.0 Bug #8736: Return value of umask() not an octal number | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44228@lists.php.net to get a copy of this message | ||
From: ahasenack@ig.com.br
Operating system: linux
PHP version: 4.0.4pl1
PHP Bug Type: *Directory/Filesystem functions
Bug description: Return value of umask() not an octal number
Shouldn't umask()'s return value be an octal number? It seems to be a decimal number:
umask(077);
echo umask();
will get you 63 as the answer, which is 77 in octal base.
--
Edit Bug report at: http://bugs.php.net/?id=8736&edit=1