coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

Unhelpful manual page(s)

Open Natureshadow opened this issue 1 month ago • 2 comments

The manual pages are less helpful than the GNU counterparts.

For example, the chmod manual page explains virtually nothing at all, apart from some examples.

The only explanation of the syntax is:

Each MODE is of the form [ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=]?[0-7]+.

which is, as stated, not helpful as an explanation and on top of that, wrong (it would mean that chmod 0473216572 foo is a valid way to call chmod).

Having good documentation with the code is an important part of UNIX, please do not ditch that while replacing core utilities!

Natureshadow avatar Nov 03 '26 13:11 Natureshadow

Hi! I'd like to contribute to this issue.

I reviewed the current chmod manual page and agree that the existing syntax description is difficult to understand, especially for users unfamiliar with symbolic and numeric permission modes.

I'd like to improve the manual page by adding clear explanations of permission categories, symbolic modes, octal permissions, special permissions, and practical examples.

I'll also make sure the documentation accurately reflects the current uutils implementation and remains consistent with GNU chmod behaviour.

Would it be possible for me to take ownership of this documentation improvement?

Thank you!

nidhishkk avatar Nov 13 '26 06:11 nidhishkk

Just submit some PR :) note that you can not copy GNU's material as the licenses are not compatible

sylvestre avatar Nov 13 '26 06:11 sylvestre