note 25109 added to function.octdec
| From: | php-general at lists dot php dot net | Date: | Wed, 11 Sep 2002 06:51:28 +0000 |
| Subject: | note 25109 added to function.octdec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36494@lists.php.net to get a copy of this message | ||
The 'S' flag for Unix file access rights is badly computed in the above sample.
If the corresponding 'x' bit (exec) is not set, and the 's' bit
(setgid/setuid/sticky) is set, then the flag should not be displayed as and uppercase 'S',
but as a lower case 's'. Also the sticky bit (mainly used for folders with public right
access rights such as /tmp to protect against deletion by non owner) is badly named
("text"?).
--
http://www.php.net/manual/en/function.octdec.php
http://master.php.net/manage/user-notes.php?action=edit+25109
http://master.php.net/manage/user-notes.php?action=delete+25109
http://master.php.net/manage/user-notes.php?action=reject+25109