note
marto
<p>IMHO the [doc://chmod] documenation is fairly comprehensive.</p>
<p><i>"... The first element of the list must be the numeric mode, which should probably be an octal number, and which definitely should not be a string of octal digits: 0644 is okay, but "0644" is not. Returns the number of files successfully changed. See also [doc://oct] if all you have is a string."</i></p>
<p>Note the link to [doc://oct], and the fact that the examples clearly show the leading zero. Then follows examples explaining the outcome of several ways of using [doc://chmod], including the outcome of using it <strike>without the leading zero</strike> incorrectly. If you feel this isn't clear enough feel free to contribute to the documentation.</p>
<p><b>Update:</b> Strike out mistake.</p>
1005083
1005097