|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1998-03-30 16:51 UTC] leon dot atkinson at clearink dot com
chmod("foo", 777) treats 777 as a decimal number, which
forces you to do octal-decimal conversion.
It's doing it with mkdir() as well.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 12:00:02 2025 UTC |
This is the correct behavior. If you want it to operate on an octal number, give it an octal number: chmod("foo", 0777);