Doc #79915 [NEW]: umask parameter

From: Date: Thu, 30 Jul 2020 11:11:02 +0000
Subject: Doc #79915 [NEW]: umask parameter
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17741@lists.php.net to get a copy of this message
From: petra dot bertova at gmail dot com Operating system: ubuntu PHP version: Irrelevant Package: Unknown/Other Function Bug Type: Documentation Problem Bug description:umask parameter Description: ------------ --- From manual page: https://php.net/function.umask --- Umask function seems to accept parameter in reverse binary code. Full access is not umask(0777), but umask(0000) -rwxrwx--- is not umask(0770), but umask(0007) -rwxrwxr-x is not umask(0775), but umask(0003) Please, update documentation and add more examples. Actual result: -------------- When I write umask(0777) I have no permissions to a directory/file When I write umask(03) I have -rwxrwxr-x permissions to a directory/file -- Edit bug report at https://bugs.php.net/bug.php?id=79915&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79915&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79915&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79915&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79915&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79915&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79915&r=support Expected behavior: https://bugs.php.net/fix.php?id=79915&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79915&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79915&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79915&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79915&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79915&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79915&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79915&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79915&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79915&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79915&r=mysqlcfg

« previous php.doc.bugs (#17741) next »