I found a bug in chmod in QNX 6.1A. The help topic for the chmod command
says that the syntax below is valid, where the “who” specification (g=group,
o=other, u=user, a=all) is not given.
chmod -w file
But chmod incorrectly fails:
chmod: Must indicate a mode and at least one file
chmod a-w file