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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: peter at helpnet dot com dot au
New email:
PHP Version: OS:

 

 [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