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
Workaround with:
chmod a-w file
Did you try
chmod – -w file
?
It may have interpreted the -w as an option rather than an
argument.
“Steve Cornett” <news@bullseye.com> wrote in message
news:a4jnjm$hsq$1@inn.qnx.com…
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
Workaround with:
chmod a-w file
Actually, this bug was fixed a while ago in the head branch. You’ll see it
in the next release.
Cheers,
Kris
“Eric Johnson” <eric@qnx.com> wrote in message
news:a4js88$h6a$1@nntp.qnx.com…
Did you try
chmod – -w file
?
It may have interpreted the -w as an option rather than an
argument.
“Steve Cornett” <> news@bullseye.com> > wrote in message
news:a4jnjm$hsq$> 1@inn.qnx.com> …
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
Workaround with:
chmod a-w file
\