|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6961 umask() returns nothing under NT
Submitted: 2000-09-30 11:10 UTC Modified: 2000-11-20 12:38 UTC
From: peter at helpnet dot com dot au Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.2 OS: NT 4.0 SP6a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
37 - 35 = ?
Subscribe to this entry?

 [2000-09-30 11:10 UTC] peter at helpnet dot com dot au
I have PHP 4.0.2 set up as CGI under NT 4.0 SP6a and Solaris. On Solaris, the PHP umask() function works as expected. On NT, it seems to do nothing. See test page
Under Solaris, umask() returns values and the values change if I submit a new value.
Under NT, nothing is returned from umask() and that nothing does not change if I submit a value.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-20 12:38 UTC]
AFAIK there is no umask in Windows.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Sep 27 05:05:53 2022 UTC