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
 [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: Tue Apr 23 06:01:30 2024 UTC