php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80885 No clear example of umask() utility
Submitted: 2021-03-18 20:19 UTC Modified: 2021-03-19 13:10 UTC
From: chealer at gmail dot com Assigned:
Status: Verified Package: Filesystem function related
PHP Version: Irrelevant OS:
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: chealer at gmail dot com
New email:
PHP Version: OS:

 

 [2021-03-18 20:19 UTC] chealer at gmail dot com
Description:
------------
The umask() function seems important, but the only example given on https://www.php.net/manual/en/function.umask.php does not indicate the effect. It would help a lot to either add an example which specifies what the effect is, or to specify the effect of the existing example.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-19 13:10 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2021-03-19 13:10 UTC] cmb@php.net
Yes, that documentation needs some improvement, starting with an
explanation what an umask is.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Jun 14 16:01:24 2021 UTC