[PHP-DEV] PHP 4.0 Bug #8736 Updated: Return value of umask() not an octal number From: zak <email protected>
Date: 01/16/01

ID: 8736
Updated by: zak
Reported By: ahasenack <email protected>
Old-Status: Closed
Status: Bogus
Bug Type: *Directory/Filesystem functions
Assigned To:
Comments:

Flagging as bogus.

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

[2001-01-16 08:26:29] ahasenack <email protected>
ups, sorry, very dumb question. Forget it.

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

[2001-01-16 08:03:39] ahasenack <email protected>
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.

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

Full Bug description available at: http://bugs.php.net/?id=8736

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>