php.net |  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:
MUST BE VALID
Solve the problem:
41 - 39 = ?
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
http://www.helpnet.com.au/php/umask.html
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC